aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/MSP430/AsmPrinter/MSP430MCInstLower.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-12 21:19:23 +0000
committerChris Lattner <sabre@nondot.org>2010-03-12 21:19:23 +0000
commit2acc03c6ad219876410de4a0fa7f8ef42a97166d (patch)
treeb4a88870cf7567e31729390addd8f4df27428ff6 /lib/Target/MSP430/AsmPrinter/MSP430MCInstLower.cpp
parent90825795edd087fbf23aa439075b791b2b2be878 (diff)
downloadexternal_llvm-2acc03c6ad219876410de4a0fa7f8ef42a97166d.tar.gz
external_llvm-2acc03c6ad219876410de4a0fa7f8ef42a97166d.tar.bz2
external_llvm-2acc03c6ad219876410de4a0fa7f8ef42a97166d.zip
inline GetGlobalValueSymbol into the rest its callers and
remove it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98390 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSP430/AsmPrinter/MSP430MCInstLower.cpp')
-rw-r--r--lib/Target/MSP430/AsmPrinter/MSP430MCInstLower.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/MSP430/AsmPrinter/MSP430MCInstLower.cpp b/lib/Target/MSP430/AsmPrinter/MSP430MCInstLower.cpp
index 2e5ef8edcc..65b8984ee1 100644
--- a/lib/Target/MSP430/AsmPrinter/MSP430MCInstLower.cpp
+++ b/lib/Target/MSP430/AsmPrinter/MSP430MCInstLower.cpp
@@ -20,6 +20,7 @@
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
+#include "llvm/Target/Mangler.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/ADT/SmallString.h"
@@ -32,7 +33,7 @@ GetGlobalAddressSymbol(const MachineOperand &MO) const {
case 0: break;
}
- return Printer.GetGlobalValueSymbol(MO.getGlobal());
+ return Printer.Mang->getSymbol(MO.getGlobal());
}
MCSymbol *MSP430MCInstLower::