[Vm-dev] Simulators need some care

Stefan Marr smalltalk at stefan-marr.de
Mon Oct 22 02:39:30 UTC 2012


I was trying to use the StackInterpreterSimulator as well the InterpreterSimulator inside the image that is in the Cog svn branch. (with VMMaker.oscog-lw.207)

I ran into issues with undefined globals/class vars. 
I attached a changeset with some of the trivial things I already fixed.

However, I ran also into the issue that in StackInterpreter>>#moveFramesIn:through:toPage:  FoxCallerContext is not defined, and I have no idea how to replace it.

I also had to ignore failing assertions to get that far, and there are plenty of those.

The InterpreterSimulator fails because AtCacheTotalSize is not defined.

Do you have advice in which context the related changes were made and what the correct fixes would be?

I also wonder with all these changes to StackInterpreter to fix the undefined globals, whether the thing is actually still functional.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: StackInterpreter.StefanMarr.2.cs
Type: application/octet-stream
Size: 4301 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20121021/a87c8cfa/StackInterpreter.StefanMarr.2.obj
-------------- next part --------------

Stefan Marr
Software Languages Lab
Vrije Universiteit Brussel
Pleinlaan 2 / B-1050 Brussels / Belgium
Phone: +32 2 629 2974
Fax:   +32 2 629 3525

More information about the Vm-dev mailing list