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(); //