[cfe-commits] r68835 - /cfe/trunk/lib/CodeGen/CodeGenFunction.h
Anders Carlsson
andersca at mac.com
Fri Apr 10 15:49:13 PDT 2009
Author: andersca
Date: Fri Apr 10 17:49:13 2009
New Revision: 68835
URL: http://llvm.org/viewvc/llvm-project?rev=68835&view=rev
Log:
Remove asserts that weren't really useful, and that would fire in case the CleanupEntries vector needed to be reallocated.
Modified:
cfe/trunk/lib/CodeGen/CodeGenFunction.h
Modified: cfe/trunk/lib/CodeGen/CodeGenFunction.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenFunction.h?rev=68835&r1=68834&r2=68835&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenFunction.h (original)
+++ cfe/trunk/lib/CodeGen/CodeGenFunction.h Fri Apr 10 17:49:13 2009
@@ -217,11 +217,6 @@
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.
More information about the cfe-commits
mailing list