pass the TargetTriple down from each target ctor to the
[oota-llvm.git] / lib / Target / SystemZ / SystemZTargetMachine.cpp
index 51b31a96098aa9c61f019cf94a5d11f386039d94..cfd1f39cd3534697085903c763abd9afea1a66f6 100644 (file)
@@ -31,7 +31,7 @@ const TargetAsmInfo *SystemZTargetMachine::createTargetAsmInfo() const {
 SystemZTargetMachine::SystemZTargetMachine(const Target &T,
                                            const std::string &TT,
                                            const std::string &FS)
-  : LLVMTargetMachine(T),
+  : LLVMTargetMachine(T, TT),
     Subtarget(TT, FS),
     DataLayout("E-p:64:64:64-i8:8:16-i16:16:16-i32:32:32-i64:64:64-f32:32:32"
                "-f64:64:64-f128:128:128-a0:16:16"),