How to run STones80: "reuse" temp names
NISHIHARA Satoshi
nishis at urban.ne.jp
Fri Feb 13 08:37:35 UTC 1998
Thanx! for your advice!
Reusing temp names, I can fileIn and run it!
At 16:27 02/11/1998 -0600, Tim Olson wrote:
>>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
--------------------------------------------
$B@>86Ao;N(B (NISHIHARA Satoshi)
e-mail: nishis at urban.ne.jp
: tcc00164 at niftyserve.or.jp
URL: http://www.urban.ne.jp/home/nishis/
--------------------------------------------
More information about the Squeak-dev
mailing list
|