Fix a non-firing assert. Change:

assert("bad SymbolicOp.VariantKind");
To:
    assert(0 && "bad SymbolicOp.VariantKind");


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142000 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Richard Trieu 2011-10-14 20:50:26 +00:00
parent ff616cb440
commit 8223e45dff

View File

@ -528,7 +528,7 @@ static bool tryAddingSymbolicOperand(uint64_t Address, int32_t Value,
else if (SymbolicOp.VariantKind == LLVMDisassembler_VariantKind_None)
MI.addOperand(MCOperand::CreateExpr(Expr));
else
assert("bad SymbolicOp.VariantKind");
assert(0 && "bad SymbolicOp.VariantKind");
return true;
}