[CS] VmBugDemonstration - an apparent bug in the 3.2 VM!

Bert Freudenberg bert at isg.cs.uni-magdeburg.de
Sun Jun 16 14:52:17 UTC 2002


On Fri, 14 Jun 2002, Chris Muller wrote:

> So, when I use a block temp, does the Compiler just move it up as a
> method temp in the compiled representation, and that's why the
> decompiler didn't know it was a block temp? 

Yes.

> That would seem to help with compatibility with other Smalltalks,

Right.

> but not necessarily an optimization, right?

It's no "optimization". It's only that Squeak VMs up to 3.x do not support
block temps. That's one thing scheduled for Squeak 4. In the mean time, 
using the block-temp-compiler-hack allows writing code that magically 
becomes better when we have proper VM support.

-- Bert





More information about the Squeak-dev mailing list