diff options
author | Chris Lattner <sabre@nondot.org> | 2010-03-13 21:04:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-03-13 21:04:28 +0000 |
commit | 29bdac4928c417f25670e462ca55ffbd68a4f11b (patch) | |
tree | e1f3ca10a53c43e051822721257cb3da168cf7e8 /llvm/lib/Target/ARM/AsmPrinter/ARMMCInstLower.cpp | |
parent | e468f88b26f55e3f42a4870c2756c0184e8a4eb4 (diff) | |
download | bcm5719-llvm-29bdac4928c417f25670e462ca55ffbd68a4f11b.tar.gz bcm5719-llvm-29bdac4928c417f25670e462ca55ffbd68a4f11b.zip |
eliminate the now-unneeded context argument of MBB::getSymbol()
llvm-svn: 98451
Diffstat (limited to 'llvm/lib/Target/ARM/AsmPrinter/ARMMCInstLower.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/AsmPrinter/ARMMCInstLower.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/AsmPrinter/ARMMCInstLower.cpp b/llvm/lib/Target/ARM/AsmPrinter/ARMMCInstLower.cpp index c4466453887..7cb305fc41c 100644 --- a/llvm/lib/Target/ARM/AsmPrinter/ARMMCInstLower.cpp +++ b/llvm/lib/Target/ARM/AsmPrinter/ARMMCInstLower.cpp @@ -136,7 +136,7 @@ void ARMMCInstLower::Lower(const MachineInstr *MI, MCInst &OutMI) const { break; case MachineOperand::MO_MachineBasicBlock: MCOp = MCOperand::CreateExpr(MCSymbolRefExpr::Create( - MO.getMBB()->getSymbol(Ctx), Ctx)); + MO.getMBB()->getSymbol(), Ctx)); break; case MachineOperand::MO_GlobalAddress: MCOp = LowerSymbolOperand(MO, GetGlobalAddressSymbol(MO)); |