Fix assertion in MachineInstr::substituteValue().

llvm-svn: 7675
This commit is contained in:
Vikram S. Adve 2003-08-07 15:01:48 +00:00
parent 6e4a358f72
commit da92f366c7
1 changed files with 2 additions and 2 deletions

View File

@ -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;