AFAIK, the values are copied on send to the arguments/temps of
thisContext (1...4), they are not kept in the sending stack frame.

Lukas

On 11 April 2010 11:32, Igor Stasenko <[email protected]> wrote:
> I just found that
>
> a: a b: b c: c
>   ^ thisContext sender stackPtr
>
> answers 0  :(
>
> while, in order to call the above method , a caller, obviously needs
> to push 4 values on stack:
>  - push receiver
>  - push a
>  - push b
>  - push c
>  - send #a:b:c:
>
> so, a method's caller context stack _should_ contain at least 4 elements.
>
> So, either i wrong, or VM doesn't tracking the context's sp value
> correctly anymore.
>
> --
> Best regards,
> Igor Stasenko AKA sig.
>
>



-- 
Lukas Renggli
www.lukas-renggli.ch

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to