[cfe-commits] r65370 - /cfe/trunk/lib/CodeGen/CGBlocks.cpp

Anders Carlsson andersca at me.com
Mon Feb 23 20:20:54 PST 2009


23 feb 2009 kl. 18.59 skrev Mike Stump:

> Author: mrs
> Date: Mon Feb 23 20:59:30 2009
> New Revision: 65370
>
> URL: http://llvm.org/viewvc/llvm-project?rev=65370&view=rev
> Log:
> Ensure that we can't break or continue out of a block.
>

Hey Mike,

I fixed this code to pass in the CodeGenModule object to the  
CodeGenFunction constructor, instead of the current CGF object. This  
way we'll get a fresh CGF each time, eliminating the need to clear the  
BreakContinueStack (among other things).

Anders




More information about the cfe-commits mailing list