From: Davide Italiano Date: Mon, 30 Jan 2017 03:16:43 +0000 (+0000) Subject: [MemorySSA] Correct an assertion surrounding with parentheses. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4835612c126a13e3373ace2505b637f5911a25ed;p=llvm [MemorySSA] Correct an assertion surrounding with parentheses. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293453 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Utils/MemorySSA.cpp b/lib/Transforms/Utils/MemorySSA.cpp index 4c70514ff9c..af4dc028b85 100644 --- a/lib/Transforms/Utils/MemorySSA.cpp +++ b/lib/Transforms/Utils/MemorySSA.cpp @@ -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");