diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-14 20:41:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-14 20:41:53 +0000 |
commit | b16ddb1fb3de22f4bad48d0cbc00e8b067463a64 (patch) | |
tree | afa3620eb6abda5b4c047995de131a64224c3a7a /lib/Target/ARM/ARMMCInstLower.cpp | |
parent | de36af4c157b0df6fd089b8fe965904761c2b5e1 (diff) | |
download | external_llvm-b16ddb1fb3de22f4bad48d0cbc00e8b067463a64.zip external_llvm-b16ddb1fb3de22f4bad48d0cbc00e8b067463a64.tar.gz external_llvm-b16ddb1fb3de22f4bad48d0cbc00e8b067463a64.tar.bz2 |
more shrinkification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119068 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMMCInstLower.cpp')
-rw-r--r-- | lib/Target/ARM/ARMMCInstLower.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/Target/ARM/ARMMCInstLower.cpp b/lib/Target/ARM/ARMMCInstLower.cpp index d9c5bcd..e500ca8 100644 --- a/lib/Target/ARM/ARMMCInstLower.cpp +++ b/lib/Target/ARM/ARMMCInstLower.cpp @@ -26,10 +26,6 @@ #include "llvm/ADT/SmallString.h" using namespace llvm; -MCSymbol *ARMMCInstLower::GetGlobalAddressSymbol(const GlobalValue *GV) const { - return Printer.Mang->getSymbol(GV); -} - MCOperand ARMMCInstLower:: GetSymbolRef(const MachineOperand &MO, const MCSymbol *Symbol) const { const MCExpr *Expr; @@ -82,7 +78,7 @@ void ARMMCInstLower::Lower(const MachineInstr *MI, MCInst &OutMI) const { MO.getMBB()->getSymbol(), Ctx)); break; case MachineOperand::MO_GlobalAddress: - MCOp = GetSymbolRef(MO, GetGlobalAddressSymbol(MO.getGlobal())); + MCOp = GetSymbolRef(MO, Printer.Mang->getSymbol(MO.getGlobal())); break; case MachineOperand::MO_ExternalSymbol: MCOp = GetSymbolRef(MO, |