summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-01-25 22:13:10 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-01-25 22:13:10 +0000
commitab2b1a7aebdbd5d4b3b7301681855cacd8952ad2 (patch)
tree0d0aa9f8726cc9d69c03e790ee3fec482f6c6947 /llvm
parent665493102ef583a1567247f36a54c6038730e170 (diff)
downloadbcm5719-llvm-ab2b1a7aebdbd5d4b3b7301681855cacd8952ad2.tar.gz
bcm5719-llvm-ab2b1a7aebdbd5d4b3b7301681855cacd8952ad2.zip
Implemented ARMInstPrinter::printThumbS4ImmOperand().
llvm-svn: 94457
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp b/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
index 6885ecb25d4..97aa351d601 100644
--- a/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
+++ b/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
@@ -353,6 +353,5 @@ void ARMInstPrinter::printPCLabel(const MCInst *MI, unsigned OpNum) {
}
void ARMInstPrinter::printThumbS4ImmOperand(const MCInst *MI, unsigned OpNum) {
- // FIXME: remove this.
- abort();
+ O << "#" << MI->getOperand(OpNum).getImm() * 4;
}
OpenPOWER on IntegriCloud