aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen
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
commita6cd009e17e21ce7fc84c7c510d190ab1ff69070 (patch)
treea589f4c93a9f1d368965e542bbf633640b9e1265 /lib/CodeGen
parent0a9217f5462d067435e4fc32307c018350d59d38 (diff)
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
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/CodeGenFunction.h5
1 files changed, 0 insertions, 5 deletions
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.