How to run STones80?

Tim Olson tim at jumpnet.com
Wed Feb 11 22:27:47 UTC 1998


>The Walkback says:
><<Cannot compile - stack including temps is too deep>>
>CompileMethod(Object)>>error:
>CompileMethod>>needsFrameSize:

The problem here is that Squeak contexts only come in two sizes:

     smallFrame: 12 slots
     largeFrame: 32 slots

smallFrames cover 94% of all methods, and including largeFrames gets you 
to 99.975%, but it turns out that the number of temporaries plus the max 
stack depth in the "execute" method in the STones80 benchmark is just a 
bit larger than a largeFrame allows.

Since Squeak allocates a unique temp for each temp name, you might try 
modifying the code for that method to "reuse" temp names, where possible, 
instead of using a unique temp name.



     -- tim





More information about the Squeak-dev mailing list