projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dafbe1
)
Minor cleanup for jump table printing. Need a reference, not a pointer, for
author
Jim Grosbach
<grosbach@apple.com>
Mon, 18 Jan 2010 22:01:39 +0000
(22:01 +0000)
committer
Jim Grosbach
<grosbach@apple.com>
Mon, 18 Jan 2010 22:01:39 +0000
(22:01 +0000)
printing via <<. Otherwise we just print the pointer value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93777
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
b/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
index 5f99a3aaf882e022cb49bb83f142bdbcf50efabd..ef2d460fab77c5bb0894df09da3c4cfa3f777665 100644
(file)
--- a/
lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
+++ b/
lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
@@
-968,7
+968,7
@@
void ARMAsmPrinter::printJT2BlockOperand(const MachineInstr *MI, int OpNum) {
else if (HalfWordOffset)
O << MAI->getData16bitsDirective();
if (ByteOffset || HalfWordOffset) {
- O << '(' << GetMBBSymbol(MBB->getNumber());
+ O << '(' <<
*
GetMBBSymbol(MBB->getNumber());
O << "-" << MAI->getPrivateGlobalPrefix() << "JTI" << getFunctionNumber()
<< '_' << JTI << '_' << MO2.getImm() << ")/2";
} else {