Implemented ARMInstPrinter::printThumbS4ImmOperand().
authorJohnny Chen <johnny.chen@apple.com>
Mon, 25 Jan 2010 22:13:10 +0000 (22:13 +0000)
committerJohnny Chen <johnny.chen@apple.com>
Mon, 25 Jan 2010 22:13:10 +0000 (22:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94457 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp

index 6885ecb25d4a0a7948e49e118908898f5d6fd637..97aa351d6012828b359faacaeda0892bbc43a412 100644 (file)
@@ -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;
 }