From 4835612c126a13e3373ace2505b637f5911a25ed Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Mon, 30 Jan 2017 03:16:43 +0000 Subject: [PATCH] [MemorySSA] Correct an assertion surrounding with parentheses. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293453 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Utils/MemorySSA.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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"); -- 2.50.1