Revert r334731 "Avoid unused variable in non-assert builds."

This reverts commit r334731.

It breaks EXPENSIVE_CHECKS bots.

llvm-svn: 334868
This commit is contained in:
Francis Visoiu Mistrih 2018-06-15 23:05:40 +00:00
parent d00e375310
commit 1c9df30eca
1 changed files with 0 additions and 1 deletions

View File

@ -105,7 +105,6 @@ void DAGTypeLegalizer::PerformExpensiveChecks() {
I = ReplacedValues.find(NewValId);
}
SDValue NewVal = getSDValue(NewValId);
(void)NewVal;
assert(NewVal.getNode()->getNodeId() != NewNode &&
"ReplacedValues maps to a new node!");
}