[Vm-dev] VM Maker: VMMaker.oscog-rmacnak.1428.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Jul 30 03:51:49 UTC 2015


Ryan Macnak uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-rmacnak.1428.mcz

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

Name: VMMaker.oscog-rmacnak.1428
Author: rmacnak
Time: 29 July 2015, 8:50:25.107 pm
UUID: 7ae0e720-4afd-4d2d-9824-6b553e1fc559
Ancestors: VMMaker.oscog-eem.1427

Fix MNU for cogged self and outer sends.

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

Item was changed:
  ----- Method: CoInterpreter>>lookupLexicalNoMNU:from:rule: (in category 'message sending') -----
  lookupLexicalNoMNU: selector from: mixin rule: rule
  	"A shared part of the lookup for implicit receiver sends that found a lexically visible
  	method, and self and outer sends."
  	| receiverClass mixinApplication dictionary found |
  	receiverClass := objectMemory fetchClassOf: localAbsentReceiver.
+ 	lkupClass := receiverClass. "For use by MNU"
  	mixinApplication := self findApplicationOfTargetMixin: mixin startingAtBehavior: receiverClass.
  	dictionary := objectMemory followObjField: MethodDictionaryIndex ofObject: mixinApplication.
  	found := self lookupMethodInDictionary: dictionary.
  	(found and: [(self isPrivateMethod: newMethod)]) ifTrue:
  		[^0].
  	^self lookupProtectedNoMNU: selector startingAt: receiverClass rule: rule!



More information about the Vm-dev mailing list