[squeak-dev] The Trunk: Kernel-eem.468.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Jul 2 02:48:53 UTC 2010


Eliot Miranda uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-eem.468.mcz

==================== Summary ====================

Name: Kernel-eem.468
Author: eem
Time: 1 July 2010, 7:48:07.5 pm
UUID: cefa8bb0-aaaa-4ea6-b115-9d4ce1a84d6f
Ancestors: Kernel-ul.467

Fix restart in blocks in the debugger.
Also first part of fix for BlockClosure>asContext[WithSender:]

=============== Diff against Kernel-ul.467 ===============

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]!




More information about the Squeak-dev mailing list