[MemorySSA] Correct an assertion surrounding with parentheses.

llvm-svn: 293453
This commit is contained in:
Davide Italiano 2017-01-30 03:16:43 +00:00
parent 8e0c326756
commit 6c77de0367
1 changed files with 2 additions and 3 deletions

View File

@ -1943,9 +1943,8 @@ void MemorySSA::verifyOrdering(Function &F) const {
assert(AL->size() == ActualAccesses.size() && assert(AL->size() == ActualAccesses.size() &&
"We don't have the same number of accesses in the block as on the " "We don't have the same number of accesses in the block as on the "
"access list"); "access list");
assert(DL || assert((DL || ActualDefs.size() == 0) &&
ActualDefs.size() == 0 && "Either we should have a defs list, or we should have no defs");
"Either we should have a defs list, or we should have no defs");
assert((!DL || DL->size() == ActualDefs.size()) && assert((!DL || DL->size() == ActualDefs.size()) &&
"We don't have the same number of defs in the block as on the " "We don't have the same number of defs in the block as on the "
"def list"); "def list");