[llvm-commits] [llvm] r142000 - /llvm/trunk/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
Richard Trieu
rtrieu at google.com
Fri Oct 14 13:50:26 PDT 2011
Author: rtrieu
Date: Fri Oct 14 15:50:26 2011
New Revision: 142000
URL: http://llvm.org/viewvc/llvm-project?rev=142000&view=rev
Log:
Fix a non-firing assert. Change:
assert("bad SymbolicOp.VariantKind");
To:
assert(0 && "bad SymbolicOp.VariantKind");
Modified:
llvm/trunk/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
Modified: llvm/trunk/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/Disassembler/ARMDisassembler.cpp?rev=142000&r1=141999&r2=142000&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/Disassembler/ARMDisassembler.cpp (original)
+++ llvm/trunk/lib/Target/ARM/Disassembler/ARMDisassembler.cpp Fri Oct 14 15:50:26 2011
@@ -528,7 +528,7 @@
else if (SymbolicOp.VariantKind == LLVMDisassembler_VariantKind_None)
MI.addOperand(MCOperand::CreateExpr(Expr));
else
- assert("bad SymbolicOp.VariantKind");
+ assert(0 && "bad SymbolicOp.VariantKind");
return true;
}
More information about the llvm-commits
mailing list