]> granicus.if.org Git - clang/commitdiff
Remove asserts that weren't really useful, and that would fire in case the CleanupEnt...
authorAnders Carlsson <andersca@mac.com>
Fri, 10 Apr 2009 22:49:13 +0000 (22:49 +0000)
committerAnders Carlsson <andersca@mac.com>
Fri, 10 Apr 2009 22:49:13 +0000 (22:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68835 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CodeGenFunction.h

index 39ba5eb1e799d62785cb1860d6aa77daba375523..4342332de2a188ae7ec5791b051e916fca80de74 100644 (file)
@@ -217,11 +217,6 @@ private:
 
     explicit CleanupEntry(llvm::BasicBlock *cb)
       : CleanupBlock(cb) {}
-
-    ~CleanupEntry() {
-      assert(Blocks.empty() && "Did not empty blocks!");
-      assert(BranchFixups.empty() && "Did not empty branch fixups!");
-    }
   };
 
   /// CleanupEntries - Stack of cleanup entries.