summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMAsmPrinter.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-07-07 20:06:06 +0000
committerDan Gohman <gohman@apple.com>2008-07-07 20:06:06 +0000
commitc7fc432b1913a3e28445408ddbc9f0922248d52f (patch)
treec5ec15b40b7860f493eb58ff30609cdae73c3b0a /llvm/lib/Target/ARM/ARMAsmPrinter.cpp
parent75f9b72bfcb2b28386fd3dda59c762c7502dc3e4 (diff)
downloadbcm5719-llvm-c7fc432b1913a3e28445408ddbc9f0922248d52f.tar.gz
bcm5719-llvm-c7fc432b1913a3e28445408ddbc9f0922248d52f.zip
Minor const-correctness fixes.
llvm-svn: 53196
Diffstat (limited to 'llvm/lib/Target/ARM/ARMAsmPrinter.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMAsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMAsmPrinter.cpp b/llvm/lib/Target/ARM/ARMAsmPrinter.cpp
index e850ef1983b..23e5e37cf06 100644
--- a/llvm/lib/Target/ARM/ARMAsmPrinter.cpp
+++ b/llvm/lib/Target/ARM/ARMAsmPrinter.cpp
@@ -694,7 +694,7 @@ void ARMAsmPrinter::printJTBlockOperand(const MachineInstr *MI, int OpNo) {
JTEntryDirective = TAI->getData32bitsDirective();
const MachineFunction *MF = MI->getParent()->getParent();
- MachineJumpTableInfo *MJTI = MF->getJumpTableInfo();
+ const MachineJumpTableInfo *MJTI = MF->getJumpTableInfo();
const std::vector<MachineJumpTableEntry> &JT = MJTI->getJumpTables();
const std::vector<MachineBasicBlock*> &JTBBs = JT[JTI].MBBs;
bool UseSet= TAI->getSetDirective() && TM.getRelocationModel() == Reloc::PIC_;
OpenPOWER on IntegriCloud