From: Anders Carlsson Date: Fri, 10 Apr 2009 22:49:13 +0000 (+0000) Subject: Remove asserts that weren't really useful, and that would fire in case the CleanupEnt... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a6cd009e17e21ce7fc84c7c510d190ab1ff69070;p=clang Remove asserts that weren't really useful, and that would fire in case the CleanupEntries vector needed to be reallocated. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68835 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 39ba5eb1e7..4342332de2 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -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.