[llvm-commits] llvm-gcc4: nested function support (w/o trampolines)

Chris Lattner clattner at apple.com
Wed Feb 7 15:30:15 PST 2007


On Feb 5, 2007, at 1:17 PM, Duncan Sands wrote:

> This patch adds support for nested subroutines, but not for
> trampolines (used for taking pointers to nested subroutines;
> implementing support for trampolines is more tricky since it
> needs help from the code generators).  There are no changes
> to LLVM itself.

Applied, thanks!  The testcase required tweaking: it passed even  
without the patch applied.  This is because at -O3, gcc was inlining  
all the nested functions away.

Thanks,

-Chris




More information about the llvm-commits mailing list