On Sat, Jun 08, 2002 at 12:30:36PM -0400, Melvin Smith wrote: > Right now all it [ret] does is pop the return address from the global > interpreter control stack, but continuations, etc. will have their own > control stack, so they must restore the caller's before returning.
Continuations never return. I don't see what other kind of functions may have their own stack. [...] > The Java VM does this by popping values off of the local stack, and > onto the callee's stack upon return. I think this is a design mistake of the Java VM. It would have been more efficient to keep the local variables on the stack. -- Jerome