mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-17 03:30:28 +00:00
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:
parent
ff616cb440
commit
8223e45dff
@ -528,7 +528,7 @@ static bool tryAddingSymbolicOperand(uint64_t Address, int32_t Value,
|
|||||||
else if (SymbolicOp.VariantKind == LLVMDisassembler_VariantKind_None)
|
else if (SymbolicOp.VariantKind == LLVMDisassembler_VariantKind_None)
|
||||||
MI.addOperand(MCOperand::CreateExpr(Expr));
|
MI.addOperand(MCOperand::CreateExpr(Expr));
|
||||||
else
|
else
|
||||||
assert("bad SymbolicOp.VariantKind");
|
assert(0 && "bad SymbolicOp.VariantKind");
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user