From: Eric Christopher Date: Tue, 6 Jan 2015 01:12:40 +0000 (+0000) Subject: Use the same call off of the TargetMachine rather than the subtarget. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=943a34f68bb06a7f460559fc2d7bdcdb39637116;p=oota-llvm.git Use the same call off of the TargetMachine rather than the subtarget. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225232 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Mips/MipsAsmPrinter.cpp b/lib/Target/Mips/MipsAsmPrinter.cpp index bcb14a45645..53b79eeacea 100644 --- a/lib/Target/Mips/MipsAsmPrinter.cpp +++ b/lib/Target/Mips/MipsAsmPrinter.cpp @@ -968,7 +968,7 @@ void MipsAsmPrinter::EmitFPCallStub( // called otherwise. when the full stub generation is moved here // we need to deal with pic. // - if (Subtarget->getRelocationModel() == Reloc::PIC_) + if (TM.getRelocationModel() == Reloc::PIC_) llvm_unreachable("should not be here if we are compiling pic"); TS.emitDirectiveSetReorder(); //