Hi:
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.
Thanks Stefan
On 22 October 2012 04:39, Stefan Marr smalltalk@stefan-marr.de wrote:
Hi:
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.
according to my sources (VMMaker-oscog-EstebanLorenzano.164):
Interpreter class>>initialize .... AtCacheTotalSize := AtCacheEntries * atCacheEntrySize * 2.
and FoxCallerContext initialized to: FoxCallerContext := FoxCallerSavedIP. in StackInterpreter
but .oscog branch i ahead of VMMaker.oscog-eem.154 by ~30 commits.. (the last one we merged with -oscog one in April.)
So,can't help with it more than pointing that you should look for changes after eem.154.
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.
Thanks Stefan
-- Stefan Marr Software Languages Lab Vrije Universiteit Brussel Pleinlaan 2 / B-1050 Brussels / Belgium http://soft.vub.ac.be/~smarr Phone: +32 2 629 2974 Fax: +32 2 629 3525
On Mon, Oct 22, 2012 at 4:39 AM, Stefan Marr smalltalk@stefan-marr.dewrote:
Hi:
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 don't. But there was an argentinian that some time ago spent some effort in trying to make these simulators work in Pharo. He has to fix a lot of things. The result is in this email: http://forum.world.st/Got-quot-Error-basicNew-failed-quot-when-running-Inter... I would like that all that effort is not lost :(
I also wonder with all these changes to StackInterpreter to fix the undefined globals, whether the thing is actually still functional.
Thanks Stefan
-- Stefan Marr Software Languages Lab Vrije Universiteit Brussel Pleinlaan 2 / B-1050 Brussels / Belgium http://soft.vub.ac.be/~smarr Phone: +32 2 629 2974 Fax: +32 2 629 3525
Someone breaks the simulators about once a year. We should have a "swear jar" that you have to put a euro into every time you do that. :)
-C
-- Craig Latta www.netjam.org/resume +31 6 2757 7177 + 1 415 287 3547 (no SMS)
vm-dev@lists.squeakfoundation.org