Force evaluate!
Tim Olson
tim at jumpnet.com
Mon Feb 16 04:39:39 UTC 1998
>On Conventional Squeak VM raises the walkback below.
>Jitter VM never show this walkback.
>What should I do?
>
>Attempt to evaluate a block that is already being evaluated.
The implementation of Blocks in Squeak currently does not allow recursive
invocation of blocks, because of the way they are implemented (they are
not full closures, yet). Ian's Jitter uses a Dynamic Context Cache which
assigns each block invocation its own context local to the VM, so basic
recursive blocks will run, but do not yet fully interact correctly with
things that examine contexts, like the Debugger.
If you want to run the code under the non-jitter VM, you will have to
replace the recursive block with a recursive method.
-- tim
More information about the Squeak-dev
mailing list
|