[Vm-dev] VM Maker: Cog-eem.234.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Dec 27 01:04:56 UTC 2014


Eliot Miranda uploaded a new version of Cog to project VM Maker:
http://source.squeak.org/VMMaker/Cog-eem.234.mcz

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

Name: Cog-eem.234
Author: eem
Time: 26 December 2014, 5:04:24.947 pm
UUID: 2b93cb60-8665-447a-80ae-51f51b1f7750
Ancestors: Cog-eem.233

Spur bootstrap:
Add error codes to the forwarding become primitives
and correct the comment of 
elementsForwardIdentityTo:copyHash:

=============== Diff against Cog-eem.233 ===============

Item was added:
+ ----- Method: SpurBootstrapPrototypes>>ArrayPROTOTYPEelementsForwardIdentityTo: (in category 'method prototypes') -----
+ ArrayPROTOTYPEelementsForwardIdentityTo: otherArray
+ 	"This primitive performs a bulk mutation, causing all pointers to the elements of the
+ 	 receiver to be replaced by pointers to the corresponding elements of otherArray.
+ 	 The identityHashes remain with the pointers rather than with the objects so that
+ 	 the objects in this array should still be properly indexed in any existing hashed
+ 	 structures after the mutation."
+ 	<primitive: 72 error: ec>
+ 	self primitiveFailed!

Item was added:
+ ----- Method: SpurBootstrapPrototypes>>ArrayPROTOTYPEelementsForwardIdentityTo:copyHash: (in category 'method prototypes') -----
+ ArrayPROTOTYPEelementsForwardIdentityTo: otherArray copyHash: copyHash
+ 	"This primitive performs a bulk mutation, causing all pointers to the elements of the
+ 	 receiver to be replaced by pointers to the corresponding elements of otherArray.
+ 	 If copyHash is true, the identityHashes remain with the pointers rather than with the
+ 	 objects so that the objects in the receiver should still be properly indexed in any
+ 	 existing hashed structures after the mutation.  If copyHash is false, then the hashes
+ 	 of the objects in otherArray remain unchanged.  If you know what you're doing this
+ 	 may indeed be what you want."
+ 	<primitive: 249 error: ec>
+ 	self primitiveFailed!



More information about the Vm-dev mailing list