Turn on memdep's verifyRemoved() in an attempt to smoke out the cause of our gcc...
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 11 Jan 2011 01:18:03 +0000 (01:18 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 11 Jan 2011 01:18:03 +0000 (01:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123207 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/MemoryDependenceAnalysis.cpp

index 8ac0a374a6d13640dbe34a51b79c1040df095979..c80099cc75cc9ed9d78cb244c579a5e1f241de24 100644 (file)
@@ -1262,7 +1262,9 @@ void MemoryDependenceAnalysis::removeInstruction(Instruction *RemInst) {
   
   assert(!NonLocalDeps.count(RemInst) && "RemInst got reinserted?");
   AA->deleteValue(RemInst);
-  DEBUG(verifyRemoved(RemInst));
+#ifndef NDEBUG
+  verifyRemoved(RemInst);
+#endif
 }
 /// verifyRemoved - Verify that the specified instruction does not occur
 /// in our internal data structures.