Fix use-before-construction of X86TargetLowering.
[oota-llvm.git] / lib / Target / X86 / X86TargetMachine.cpp
index b7a79563b2d25748e7f61249af9b369284e42a0b..ea99796f35125fb4fb34f3bb7b93a704312ec8d8 100644 (file)
@@ -46,8 +46,8 @@ X86_32TargetMachine::X86_32TargetMachine(const Target &T, StringRef TT,
                "e-p:32:32-f64:32:64-i64:32:64-f80:32:32-f128:128:128-"
                "n8:16:32-S128"),
     InstrInfo(*this),
-    TSInfo(*this),
     TLInfo(*this),
+    TSInfo(*this),
     JITInfo(*this),
     STTI(&TLInfo), VTTI(&TLInfo) {
 }
@@ -63,8 +63,8 @@ X86_64TargetMachine::X86_64TargetMachine(const Target &T, StringRef TT,
     DL("e-p:64:64-s:64-f64:64:64-i64:64:64-f80:128:128-f128:128:128-"
                "n8:16:32:64-S128"),
     InstrInfo(*this),
-    TSInfo(*this),
     TLInfo(*this),
+    TSInfo(*this),
     JITInfo(*this),
     STTI(&TLInfo), VTTI(&TLInfo){
 }