[Pkg] The Trunk: Collections-tfel.613.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Apr 9 07:09:22 UTC 2015


Tim Felgentreff uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-tfel.613.mcz

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

Name: Collections-tfel.613
Author: tfel
Time: 9 April 2015, 9:09:08.368 am
UUID: 9e6e47d3-17ac-f847-976f-40872d002ab8
Ancestors: Collections-bf.612

Fix replaceFrom:to:with:startingAt: for ByteArray if run on a VM without primitive 105

=============== Diff against Collections-bf.612 ===============

Item was added:
+ ----- Method: ByteArray>>at:put: (in category 'accessing') -----
+ at: index put: value 
+ 	<primitive: 61> "try primitiveAtPut, convert value to integer if that fails and try again" 
+ 	^ self byteAt: index put: value asInteger
+ !

Item was changed:
  ----- Method: ByteArray>>byteAt: (in category 'accessing') -----
  byteAt: index
  	<primitive: 60>
+ 	^ super at: index!
- 	^self at: index!

Item was changed:
  ----- Method: ByteArray>>byteAt:put: (in category 'accessing') -----
  byteAt: index put: value
  	<primitive: 61>
+ 	^ super at: index put: value!
- 	^self at: index put: value!



More information about the Packages mailing list