VM Maker: VMMaker.oscog-eem.2161.mcz

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

VM Maker: VMMaker.oscog-eem.2161.mcz

Eliot Miranda uploaded a new version of VMMaker to project VM Maker:

==================== 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
+ <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)!