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

commits at source.squeak.org commits at source.squeak.org
Wed Feb 4 23:40:55 UTC 2015


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

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

Name: VMMaker.oscog-eem.1041
Author: eem
Time: 4 February 2015, 3:39:14.587 pm
UUID: 07a9d555-3a71-4774-a5f2-04a2ee09a74e
Ancestors: VMMaker.oscog-eem.1040

Like V3's, Spur's fetchClassOf: also needs to be inlineable in ifs.

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

Item was changed:
  ----- Method: SpurMemoryManager>>fetchClassOf: (in category 'object access') -----
  fetchClassOf: oop
  	| tagBits |
+ 	^(tagBits := oop bitAnd: self tagMask) ~= 0
+ 		ifTrue: [self fetchPointer: tagBits ofObject: classTableFirstPage]
+ 		ifFalse: [self fetchClassOfNonImm: oop]!
- 	(tagBits := oop bitAnd: self tagMask) ~= 0 ifTrue:
- 		[^self fetchPointer: tagBits ofObject: classTableFirstPage].
- 	^self fetchClassOfNonImm: oop!



More information about the Vm-dev mailing list