forked from OSchip/llvm-project
Avoid unused variable in non-assert builds.
llvm-svn: 334731
This commit is contained in:
parent
4729d1ff27
commit
41e69a8e8b
|
@ -105,6 +105,7 @@ void DAGTypeLegalizer::PerformExpensiveChecks() {
|
||||||
I = ReplacedValues.find(NewValId);
|
I = ReplacedValues.find(NewValId);
|
||||||
}
|
}
|
||||||
SDValue NewVal = getSDValue(NewValId);
|
SDValue NewVal = getSDValue(NewValId);
|
||||||
|
(void)NewVal;
|
||||||
assert(NewVal.getNode()->getNodeId() != NewNode &&
|
assert(NewVal.getNode()->getNodeId() != NewNode &&
|
||||||
"ReplacedValues maps to a new node!");
|
"ReplacedValues maps to a new node!");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue