On Wednesday, 20 August 2014 at 21:19:18 UTC, Ola Fosheim Gr
wrote:
On Wednesday, 20 August 2014 at 20:48:38 UTC, Chris
Nicholson-Sauls wrote:
On Wednesday, 20 August 2014 at 15:17:52 UTC, Ola Fosheim Gr
wrote:
Only if it is recursive.
Or if it refers to any state of the parent function.
As long as the compiler knows where it will be called from it
should be able use a stack pointer offset (unless alloca gets
in the way) without the frame pointer of the parent.
Well, I guess simple recursion could be solved easily too by
having a wrapper function that puts the frame pointer in a free
callee save register...