[Vm-dev] VM Maker: VMMaker.oscog-eem.3220.mcz
commits at source.squeak.org
commits at source.squeak.org
Mon Jul 25 20:58:44 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, 1:58:35.079817 pm
UUID: 6c2f6c22-9604-4328-b694-85f7b54fbfaa
Ancestors: VMMaker.oscog-eem.3219
Oops; SmartSyntaxPluginCodeGenerator>>actualsForMethod: should not exist.
=============== Diff against VMMaker.oscog-eem.3219 ===============
Item was removed:
- ----- 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 |
- 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