]> granicus.if.org Git - clang/commitdiff
Make sure to reset the DidCallStackSave variable before emitting a compound statement...
authorAnders Carlsson <andersca@mac.com>
Sun, 22 Feb 2009 18:44:21 +0000 (18:44 +0000)
committerAnders Carlsson <andersca@mac.com>
Sun, 22 Feb 2009 18:44:21 +0000 (18:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65291 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGStmt.cpp

index 1d28708c46decac9895a4d155d3b93b3dea7c308..307dccff2f24e93ab11f9fda508a3376c701223a 100644 (file)
@@ -134,6 +134,7 @@ RValue CodeGenFunction::EmitCompoundStmt(const CompoundStmt &S, bool GetLast,
   // Keep track of the current cleanup stack depth.
   size_t CleanupStackDepth = CleanupEntries.size();
   bool OldDidCallStackSave = DidCallStackSave;
+  DidCallStackSave = false;
   
   for (CompoundStmt::const_body_iterator I = S.body_begin(),
        E = S.body_end()-GetLast; I != E; ++I)