[cfe-commits] r64021 - in /cfe/trunk/lib/CodeGen: CGStmt.cpp CodeGenFunction.h

Mike Stump mrs at apple.com
Sat Feb 7 14:27:32 PST 2009


On Feb 7, 2009, at 1:10 PM, Anders Carlsson wrote:
> Are you working on gotos out of VLAs?

They already work.  [Yes, I was.]

> I happen to have a patch ready that will generalize the obj-c eh  
> stack into a general cleanup stack - it will make gotos out of VLAs  
> trivial.

I saw the eh stack, the code can be cleaned up and merged.  For now,  
I'm just cleaning up stack depth stuff, but, yes, logically, all these  
things go together, and half goes into sema, half in codegen.  Also,  
I've not seen the code for cleanup actions, but, it logically goes  
with this stuff as well.  Are we just missing a ton of it, or is it  
hiding somewhere?  If you want to pull the stack depth code into a  
merged nicely designed solution, that'd be great.   I'm still  
sweeping, but I'm close to basic functionality.



More information about the cfe-commits mailing list