[Vm-dev] [Cog] Fall back to interpreter. How?

Igor Stasenko siguctua at gmail.com
Mon Apr 23 21:28:41 UTC 2012


Hi, Eliot, all :)

i skimming through the cogit, and i cannot clearly identify the code
which generating code for falling back to interpreter.

Say,  i want to create a native code which does nothing, just
switching back to interpreter, so the bytecode of given method will be
interpreted
where i should look for..

Also, what are hooks i need for that? Which global state should be changed?

And finally, is there documentation about calling convention for jited
code? I'd like to know what is the state of registers when VM enters
the jited method,
and what their purpose.

-- 
Best regards,
Igor Stasenko.


More information about the Vm-dev mailing list