diff options
| author | Eric Christopher <echristo@gmail.com> | 2015-01-06 01:12:40 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2015-01-06 01:12:40 +0000 |
| commit | 822f1e4dc4656e438cf0cd2ec8c15a9bbfc964c0 (patch) | |
| tree | 55e513cb624eafc2637c6f1f20e32e4f66459147 /llvm/lib/Target | |
| parent | d20ee0a2457abb828a00d02abe34fceb5e873ed0 (diff) | |
| download | bcm5719-llvm-822f1e4dc4656e438cf0cd2ec8c15a9bbfc964c0.tar.gz bcm5719-llvm-822f1e4dc4656e438cf0cd2ec8c15a9bbfc964c0.zip | |
Use the same call off of the TargetMachine rather than the subtarget.
llvm-svn: 225232
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/Mips/MipsAsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsAsmPrinter.cpp b/llvm/lib/Target/Mips/MipsAsmPrinter.cpp index bcb14a45645..53b79eeacea 100644 --- a/llvm/lib/Target/Mips/MipsAsmPrinter.cpp +++ b/llvm/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(); // |

