]> granicus.if.org Git - llvm/commitdiff
[MemorySSA] Correct an assertion surrounding with parentheses.
authorDavide Italiano <davide@freebsd.org>
Mon, 30 Jan 2017 03:16:43 +0000 (03:16 +0000)
committerDavide Italiano <davide@freebsd.org>
Mon, 30 Jan 2017 03:16:43 +0000 (03:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293453 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Utils/MemorySSA.cpp

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