Indirect jumps

Christian chrisperx at hotmail.com
Fri Jan 18 01:38:06 PST 2008


> And nested functions won't do the trick?  I kind of thought that
> is what nested functions were for: the ability to access local
> variables without the overhead of pushing pointers to all of them
> onto the stack.

I will study this possibility. But I think that it is not possible, because the functions are called through indirection. The pointer to the function would be saved to memory and then would be called using this pointer, then how know the compiler that this call is for a nested function?.

Christian.



More information about the Digitalmars-d mailing list