[VM] Hooks from module into platform support code?

Tim Rowledge tim at sumeru.stanford.edu
Wed Nov 1 19:16:02 UTC 2000


Henrik Gedenryd <Henrik.Gedenryd at lucs.lu.se> is widely believed to have written:

> Forgive me if I am overlooking something really obvious, but while we're
> almost on the topic, what is it prevents one from doing ordinary message
> sends from C code by having the equivalent of the exact bytecodes of a
> message send as a sequence of (Slang-generated) C code? This is what I
> thought that exception code was doing when it triggers a method for block
> unwinding or something.
Kind of, yes. It does it in a very specific situation and the image code
never returns to that C code routine. As Andreas said, just try
returning through a C stackframe!

tim

-- 
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Strange OpCodes: IBLU: Ignore Basic Laws of Universe





More information about the Squeak-dev mailing list