forked from OSchip/llvm-project
Fix assertion in MachineInstr::substituteValue().
llvm-svn: 7675
This commit is contained in:
parent
6e4a358f72
commit
da92f366c7
|
@ -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…
Reference in New Issue