diff options
author | Johnny Chen <johnny.chen@apple.com> | 2010-04-16 19:57:21 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2010-04-16 19:57:21 +0000 |
commit | 16fda6982b8fa366db2632d3b1775d71f1fd4eaa (patch) | |
tree | 6c62e879d64937f7dbf58105cdb8c371af322911 /lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp | |
parent | 5b13a1a4c3a90c1dfd4b5c2521b5900ff367b12c (diff) |
In the same spirit of r101524, which removed the assert() from printAddrMode2OffsetOperand(),
this patch removes the assert() from printAddrMode3OffsetOperand() and adds a test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101529 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp')
-rw-r--r-- | lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp b/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp index 845d7bb085..bc61a15e7a 100644 --- a/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp +++ b/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp @@ -379,7 +379,6 @@ void ARMInstPrinter::printAddrMode3OffsetOperand(const MCInst *MI, } unsigned ImmOffs = ARM_AM::getAM3Offset(MO2.getImm()); - assert(ImmOffs && "Malformed indexed load / store!"); O << '#' << ARM_AM::getAddrOpcStr(ARM_AM::getAM3Op(MO2.getImm())) << ImmOffs; |