Register spilling mechanism

Igor Stasenko siguctua at gmail.com
Tue Apr 22 13:01:16 UTC 2008


More broader explanation why i need this..
I want to allow direct stack manipulation for native methods to some extent.

In code, one can write:

(object1 expression1) push.
(object2 expression2) push.
address call.

Now i need to make sure that Exupery will produce correct stack frame
for a call, regardless what code inlined in expression1/expression2
it should not interfere with top stack layout, which should be:

<result of expression1>
<result of expression2>
<return address>

when entering routine at (address call).

-- 
Best regards,
Igor Stasenko AKA sig.


More information about the Exupery mailing list