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

commits at source.squeak.org commits at source.squeak.org
Sun Jun 28 00:34:05 UTC 2015


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

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

Name: VMMaker.oscog-rmacnak.1392
Author: rmacnak
Time: 27 June 2015, 5:32:42.014 pm
UUID: 8f30a56b-7998-4e50-bc9f-63b7e3281afc
Ancestors: VMMaker.oscog-eem.1391

Remove some dead code.

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

Item was removed:
- ----- Method: StackInterpreter>>lookupMethodNoMNUEtcInClass: (in category 'message sending') -----
- lookupMethodNoMNUEtcInClass: class
- 	"Lookup messageSelector in class.  Answer 0 on success. Answer the splObj: index
- 	 for the error selector to use on failure rather than performing MNU processing etc."
- 	| currentClass dictionary found |
- 	<inline: false>
- 	currentClass := class.
- 	[currentClass ~= objectMemory nilObject] whileTrue:
- 		[dictionary := objectMemory followObjField: MethodDictionaryIndex ofObject: currentClass.
- 		 dictionary = objectMemory nilObject ifTrue:
- 			[lkupClass := self superclassOf: currentClass.
- 			 ^SelectorCannotInterpret].
- 		 found := self lookupMethodInDictionary: dictionary.
- 		 self cppIf: #NewspeakVM
- 			ifTrue:
- 				[found ifTrue:
- 					[(self isPublicMethod: newMethod) ifTrue:
- 						[self addNewMethodToCache: class. ^0].
- 					(self isProtectedMethod: newMethod) ifTrue:
- 						[^SelectorDoesNotUnderstand]]]
- 			ifFalse:
- 				[found ifTrue:
- 					[self addNewMethodToCache: class. ^0]].
- 		 currentClass := self superclassOf: currentClass].
- 	lkupClass := class.
- 	^SelectorDoesNotUnderstand!



More information about the Vm-dev mailing list