[Vm-dev] VM Maker: VMMaker.oscog-eem.2161.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Mar 17 01:24:46 UTC 2017


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

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

Name: VMMaker.oscog-eem.2161
Author: eem
Time: 16 March 2017, 6:23:19.980489 pm
UUID: 6fbb916c-04e5-42c8-b844-12c5eead9dba
Ancestors: VMMaker.oscog-eem.2160

Oops! ceNewHashOf: is now no longer a SistaVM option but a SpurObjectMemory option.

=============== Diff against VMMaker.oscog-eem.2160 ===============

Item was changed:
  ----- Method: CoInterpreter>>ceNewHashOf: (in category 'trampolines') -----
  ceNewHashOf: anObject
  	<api>
+ 	<option: #SpurObjectMemory>
- 	<option: #SistaVM>
  	"We know anObject has not a hash yet (or this trampoline would not be called.
  	 Sets the hash, then answers it as a smallinteger"
+ 	self assert: ((objectMemory isNonImmediate: anObject)
+ 				and: [(objectMemory rawHashBitsOf: anObject) = 0]).
+ 	^objectMemory integerObjectOf: (objectMemory newHashBitsOf: anObject)!
- 	^ objectMemory integerObjectOf: (objectMemory newHashBitsOf: anObject)!



More information about the Vm-dev mailing list