[LLVMdev] explicit stack management
joe at x2a.org
Fri Nov 28 20:14:55 PST 2008
William Morgan wrote:
> Hi all,
> At the bottom of chapter 8 of the tutorial, on the topic of closures,
> mentions that there are "often better ways to implement these features
> than explicit stack frames". Does anyone know what techniques this
> cryptic statement might be referring to?
I would say it means to have a "stackless" code generator. You may want
to see http://en.wikipedia.org/wiki/Spaghetti_stack and
"Stackless" means that you do not use the "system" stack, but that
rather, your language frontend manages the stack frames itself.
Hope this is any help,
More information about the llvm-dev