A new version of Kernel was added to project The Inbox:
http://source.squeak.org/inbox/Kernel-HenrikSperreJohansen.458.mcz==================== Summary ====================
Name: Kernel-HenrikSperreJohansen.458
Author: HenrikSperreJohansen
Time: 11 June 2010, 9:20:23.33 pm
UUID: 3d05e5c8-e614-1a45-92ab-f875e73ea596
Ancestors: Kernel-dtl.457
Fix for restarting of Contexts executing blocks from Eliot.
=============== Diff against Kernel-dtl.457 ===============
Item was changed:
----- Method: MethodContext>>privRefresh (in category 'initialize-release') -----
privRefresh
"Reinitialize the receiver so that it is in the state it was at its creation."
+ closureOrNil
+ ifNotNil:
+ [pc := closureOrNil startpc.
+ self stackp: closureOrNil numArgs + closureOrNil numCopiedValues.
+ 1 to: closureOrNil numCopiedValues do:
+ [:i | self tempAt: closureOrNil numArgs + i put: (closureOrNil at: i)]]
+ ifNil:
+ [pc := method initialPC.
+ self stackp: method numTemps.
+ method numArgs+1 to: method numTemps do:
+ [:i | self tempAt: i put: nil]]!
- pc := method initialPC.
- self stackp: method numTemps.
- method numArgs+1 to: method numTemps
- do: [:i | self tempAt: i put: nil]!