[squeak-dev] Trying to understand thisContext
me at matthiasspringer.de
Mon Jun 8 13:45:42 UTC 2015
I am trying to understand what the meaning and implementation of
On a recent COG VM, "[ |a b| a:=b:=1. thisContext basicSize ] value" returns
3. Adding more temp vars increases that value.
On a Cocoa VM (http://squeakvm.org/mac/release/Squeak%220.127.116.11.zip), the
same code always returns 0. Also, "thisContext at: 1" etc. is out of bounds.
Which one is correct? Any ideas?
The reason why I am asking is because there is code that seems to rely on
this (e.g. SystemTracer2>>writeContext:) and I am trying to get it running
View this message in context: http://forum.world.st/Trying-to-understand-thisContext-tp4830938.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.
More information about the Squeak-dev