mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-30 04:35:00 +00:00
Fix assertion in MachineInstr::substituteValue().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7675 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
97a95bdbdd
commit
2010f7baec
@ -135,8 +135,8 @@ MachineInstr::substituteValue(const Value* oldVal, Value* newVal,
|
||||
bool defsOnly, bool notDefsAndUses,
|
||||
bool& someArgsWereIgnored)
|
||||
{
|
||||
assert((defsOnly || !notDefsAndUses) &&
|
||||
"notDefsAndUses is irrelevant if defsOnly == false.");
|
||||
assert((!defsOnly || !notDefsAndUses) &&
|
||||
"notDefsAndUses is irrelevant if defsOnly == true.");
|
||||
|
||||
unsigned numSubst = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user