aboutsummaryrefslogtreecommitdiffstats
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
commitc6f0f30bb97c21286e49c6b5b91999c1012de275 (patch)
treeb6b8f02f967fb956502f77038faba204bd61c101
parent761bd52f573c74f447056b90ed40d9d3b473c98f (diff)
downloadexternal_llvm-c6f0f30bb97c21286e49c6b5b91999c1012de275.tar.gz
external_llvm-c6f0f30bb97c21286e49c6b5b91999c1012de275.tar.bz2
external_llvm-c6f0f30bb97c21286e49c6b5b91999c1012de275.zip
Implemented ARMInstPrinter::printThumbS4ImmOperand().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94457 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp b/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
index 6885ecb25d..97aa351d60 100644
--- a/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
+++ b/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;
}