[ARM] Define a subtarget feature and use it to decide whether long calls should
[oota-llvm.git] / lib / Target / TargetLoweringObjectFile.cpp
index b8006ba03e56f211361c367af8e481cc3fce823f..19b5e2a0f978bd4095be39f9e17402f949798cd3 100644 (file)
@@ -44,7 +44,7 @@ void TargetLoweringObjectFile::Initialize(MCContext &ctx,
                                           const TargetMachine &TM) {
   Ctx = &ctx;
   DL = TM.getDataLayout();
-  InitMCObjectFileInfo(Triple(TM.getTargetTriple()), TM.getRelocationModel(),
+  InitMCObjectFileInfo(TM.getTargetTriple(), TM.getRelocationModel(),
                        TM.getCodeModel(), *Ctx);
 }