Login  Register

Re: Register spilling mechanism

Posted by Igor Stasenko on Apr 22, 2008; 1:01pm
URL: https://forum.world.st/Register-spilling-mechanism-tp133551p133552.html

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.
_______________________________________________
Exupery mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/exupery