[Vm-dev] Re: Need a marker primitive

timfelgentreff timfelgentreff at gmail.com
Sat Apr 25 21:28:22 UTC 2015


In RSqueakVM we always run the simulation for BitBlt and Balloon (so when
e.g. the copyBits primitive comes up, the VM just creates a frame running
the copyBitsSimulated method). This generally works well, but when the
simulation triggers a primitiveFail, it'll just be a Smalltalk-level halt,
and we have to jump through hoops in RSqueakVM to catch that and run the
fallback code. If instead we add a primitive into
InterpreterSimulator>>primitiveFail, we can catch that and know that we
should run the fallback code.



--
View this message in context: http://forum.world.st/Need-a-marker-primitive-tp4821675p4821886.html
Sent from the Squeak VM mailing list archive at Nabble.com.


More information about the Vm-dev mailing list