summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-03 06:18:30 +0000
committerChris Lattner <sabre@nondot.org>2010-02-03 06:18:30 +0000
commit082f4840745199cb96f7580902b4b57c9d69ac5c (patch)
treed9cefab667fa6eff06c87033f4e81cce232f025d /llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
parent78c8eaa4cb7cc4dfa6d0d607e6eee0c43663b306 (diff)
downloadbcm5719-llvm-082f4840745199cb96f7580902b4b57c9d69ac5c.tar.gz
bcm5719-llvm-082f4840745199cb96f7580902b4b57c9d69ac5c.zip
make MachineModuleInfoMachO hold non-const MCSymbol*'s instead
of const ones. non-const ones aren't very useful, because you can't even, say, emit them. llvm-svn: 95205
Diffstat (limited to 'llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp')
-rw-r--r--llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp b/llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
index 674eeb89e5b..d456123b112 100644
--- a/llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
+++ b/llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
@@ -200,7 +200,7 @@ namespace {
MachineModuleInfoMachO &MMIMachO =
MMI->getObjFileInfo<MachineModuleInfoMachO>();
- const MCSymbol *&StubSym =
+ MCSymbol *&StubSym =
GV->hasHiddenVisibility() ? MMIMachO.getHiddenGVStubEntry(Sym) :
MMIMachO.getGVStubEntry(Sym);
if (StubSym == 0)
OpenPOWER on IntegriCloud