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

commits at source.squeak.org commits at source.squeak.org
Mon Jul 25 21:12:47 UTC 2022


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

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

Name: VMMaker.oscog-eem.3220
Author: eem
Time: 25 July 2022, 2:12:30.892022 pm
UUID: 1a04ca73-fe89-4ffe-8a60-d00f9b55dc14
Ancestors: VMMaker.oscog-eem.3219

Oops; BitBltSimulation is an outlier, not uniformly a SmartSyntaxInterpreterPlugin.

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

Item was changed:
  ----- Method: SmartSyntaxPluginCodeGenerator>>actualsForMethod: (in category 'spur primitive compilation') -----
  actualsForMethod: aTMethod
  	"Normal primitives have no arguments, but translated primitives do.
  	 Override to answer actuals for translated primitives."
  	| formalParameterNames actuals |
+ 	aTMethod fullArgs ifNil:
+ 		[^super actualsForMethod: aTMethod].
  	formalParameterNames := Set withAll: aTMethod fullArgs.
  	aTMethod receiver ifNotNil:
  		[:rcvr| formalParameterNames add: rcvr].
  	actuals := OrderedCollection new.
  	"they're all at the top level..."
  	aTMethod parseTree statements do:
  		[:node|
  		(node isAssignment
  		 and: [formalParameterNames includes: node variable name]) ifTrue:
  			[formalParameterNames remove: node variable name.
  			 actuals add: node expression]].
  	^actuals!



More information about the Vm-dev mailing list