summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-04-10 22:49:13 +0000
committerAnders Carlsson <andersca@mac.com>2009-04-10 22:49:13 +0000
commit7f96b360f2bc79c0184fd9bb306c7fc59f9c34d4 (patch)
treeaa51a2b6d635524fd557f8ac63549e54d701be09 /clang/lib
parent60331be08da5ef89a416a495c9a7bb9b8b375dea (diff)
downloadbcm5719-llvm-7f96b360f2bc79c0184fd9bb306c7fc59f9c34d4.tar.gz
bcm5719-llvm-7f96b360f2bc79c0184fd9bb306c7fc59f9c34d4.zip
Remove asserts that weren't really useful, and that would fire in case the CleanupEntries vector needed to be reallocated.
llvm-svn: 68835
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 39ba5eb1e79..4342332de2a 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/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.
OpenPOWER on IntegriCloud