From: Jakob Stoklund Olesen Date: Tue, 11 Jan 2011 04:05:39 +0000 (+0000) Subject: Revert r123207: "Turn on memdep's verifyRemoved() in an attempt to smoke out the... X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f7624bc6dd57d5b4deea7c336c3e3aec67f38c9b;p=oota-llvm.git Revert r123207: "Turn on memdep's verifyRemoved() in an attempt to smoke out the cause of our gcc bootstrap miscompare." It didn't. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123215 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/MemoryDependenceAnalysis.cpp b/lib/Analysis/MemoryDependenceAnalysis.cpp index c80099cc75c..8ac0a374a6d 100644 --- a/lib/Analysis/MemoryDependenceAnalysis.cpp +++ b/lib/Analysis/MemoryDependenceAnalysis.cpp @@ -1262,9 +1262,7 @@ void MemoryDependenceAnalysis::removeInstruction(Instruction *RemInst) { assert(!NonLocalDeps.count(RemInst) && "RemInst got reinserted?"); AA->deleteValue(RemInst); -#ifndef NDEBUG - verifyRemoved(RemInst); -#endif + DEBUG(verifyRemoved(RemInst)); } /// verifyRemoved - Verify that the specified instruction does not occur /// in our internal data structures.