[llvm-commits] [llvm] r162165 - /llvm/trunk/lib/Target/Mips/MipsTargetMachine.cpp
Craig Topper
craig.topper at gmail.com
Fri Aug 17 23:20:54 PDT 2012
Author: ctopper
Date: Sat Aug 18 01:20:54 2012
New Revision: 162165
URL: http://llvm.org/viewvc/llvm-project?rev=162165&view=rev
Log:
Reorder initialization list to silence -Wreorder
Modified:
llvm/trunk/lib/Target/Mips/MipsTargetMachine.cpp
Modified: llvm/trunk/lib/Target/Mips/MipsTargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsTargetMachine.cpp?rev=162165&r1=162164&r2=162165&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsTargetMachine.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsTargetMachine.cpp Sat Aug 18 01:20:54 2012
@@ -43,7 +43,6 @@
bool isLittle)
: LLVMTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL),
Subtarget(TT, CPU, FS, isLittle),
- ELFWriterInfo(false, isLittle),
DataLayout(isLittle ?
(Subtarget.isABI_N64() ?
"e-p:64:64:64-i8:8:32-i16:16:32-i64:64:64-f128:128:128-n32" :
@@ -53,7 +52,8 @@
"E-p:32:32:32-i8:8:32-i16:16:32-i64:64:64-n32")),
InstrInfo(MipsInstrInfo::create(*this)),
FrameLowering(MipsFrameLowering::create(*this, Subtarget)),
- TLInfo(*this), TSInfo(*this), JITInfo() {
+ TLInfo(*this), TSInfo(*this), JITInfo(),
+ ELFWriterInfo(false, isLittle) {
}
void MipsebTargetMachine::anchor() { }
More information about the llvm-commits
mailing list