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

commits at source.squeak.org commits at source.squeak.org
Sun Jun 21 20:54:20 UTC 2015


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

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

Name: VMMaker.oscog-eem.1371
Author: eem
Time: 21 June 2015, 1:51:53.326 pm
UUID: a51022d9-e5d7-4dbf-83d3-4326bd5ea61f
Ancestors: VMMaker.oscog-eem.1370

Fix bogus assert in extSendBytecode.  Simplify
SpurMemoryManager>>classForClassTag:; its
assert is superfluous.

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

Item was changed:
  ----- Method: SpurMemoryManager>>classForClassTag: (in category 'interpreter access') -----
  classForClassTag: classIndex
+ 	<inline: true>
+ 	"No need to check this; classAtIndex: has a stricter assert:
+ 		self assert: classIndex ~= self isForwardedObjectClassIndexPun."
- 	self assert: classIndex ~= self isForwardedObjectClassIndexPun.
  	^self classAtIndex: classIndex!

Item was changed:
  ----- Method: StackInterpreter>>extSendBytecode (in category 'send bytecodes') -----
  extSendBytecode
  	"238		11101110	i i i i i j j j	Send Literal Selector #iiiii (+ Extend A * 32) with jjj (+ Extend B * 8) Arguments"
  	| byte rcvr |
  	byte := self fetchByte.
  	messageSelector := self literal: (byte >> 3) + (extA << 5).
  	extA := 0.
  	argumentCount := (byte bitAnd: 7) + (extB << 3).
  	extB := 0.
  	rcvr := self internalStackValue: argumentCount.
  	lkupClassTag := objectMemory fetchClassTagOf: rcvr.
- 	self assert: (objectMemory classForClassTag: lkupClassTag) ~= objectMemory nilObject.
  	self commonSend!



More information about the Vm-dev mailing list