[llvm-commits] [llvm] r117782 - /llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp

Jim Grosbach grosbach at apple.com
Sat Oct 30 05:59:16 PDT 2010


Author: grosbach
Date: Sat Oct 30 07:59:16 2010
New Revision: 117782

URL: http://llvm.org/viewvc/llvm-project?rev=117782&view=rev
Log:
Tidy up.

Modified:
    llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp

Modified: llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp?rev=117782&r1=117781&r2=117782&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp (original)
+++ llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp Sat Oct 30 07:59:16 2010
@@ -260,7 +260,7 @@
     // the difference?
     if (Mem.Offset) {
       const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Mem.Offset);
-      assert (CE && "non-constant mode 5 offset operand!");
+      assert(CE && "non-constant mode 5 offset operand!");
       // The MCInst offset operand doesn't include the low two bits (like
       // the instruction encoding).
       Inst.addOperand(MCOperand::CreateImm(CE->getValue() / 4));





More information about the llvm-commits mailing list