From a6cd009e17e21ce7fc84c7c510d190ab1ff69070 Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Fri, 10 Apr 2009 22:49:13 +0000 Subject: 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 --- lib/CodeGen/CodeGenFunction.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib/CodeGen/CodeGenFunction.h') 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. -- cgit v1.2.3-18-g5258