[squeak-dev] The Trunk: Compiler-eem.384.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Jun 16 22:23:49 UTC 2018

Eliot Miranda uploaded a new version of Compiler to project The Trunk:

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

Name: Compiler-eem.384
Author: eem
Time: 16 June 2018, 3:23:37.766854 pm
UUID: 79e07928-38ba-489e-a330-42bca61aac02
Ancestors: Compiler-eem.383

Oops!  We need that support method.

=============== Diff against Compiler-eem.383 ===============

Item was added:
+ ----- Method: CompiledMethod>>newBlockStartMap (in category '*Compiler-private') -----
+ newBlockStartMap
+ 	"If blocks are embedded then keys in the map are simple integer pcs and a Dictionary can be used.
+ 	 If blocks are full (separate method objects) then keys in the map are CompiledBlocks and
+ 	 IdentityDictionary must be used to avoid confusing blocks with identical code."
+ 	^(self encoderClass supportsFullBlocks
+ 		ifTrue: [IdentityDictionary]
+ 		ifFalse: [Dictionary]) new!

More information about the Squeak-dev mailing list