[Vm-dev] VM Maker: VMMaker.oscog-nice.2753.mcz

commits at source.squeak.org commits at source.squeak.org
Sat May 9 14:12:34 UTC 2020


Nicolas Cellier uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-nice.2753.mcz

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

Name: VMMaker.oscog-nice.2753
Author: nice
Time: 9 May 2020, 4:12:23.808765 pm
UUID: fa9a30c2-0c15-4231-b578-3596878b2627
Ancestors: VMMaker.oscog-eem.2752

Add isLong64s: and isShorts: in InterpreterProxy.

Those methods are required so that reference to isShorts and isLong64s be correctly declared in plugin headers.

This happens in the #emitCVariablesOn: phase
> #preDeclareInterpreterProxyOn:
> #collectAndCheckInterpreterProxyInterfaceFor:verbose:

#isLong64s: must be either in interpreterClass, or objectMemoryClass, or InterpreterProxy
For the moment it was only in SpurMemoryManager which apparently does not match any of those.

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

Item was added:
+ ----- Method: InterpreterProxy>>isLong64s: (in category 'testing') -----
+ isLong64s: oop
+ 	<option: #(atLeastVMProxyMajor:minor: 1 17)>
+ 	^oop class isPointers not and:[oop class isLongs]!

Item was added:
+ ----- Method: InterpreterProxy>>isShorts: (in category 'testing') -----
+ isShorts: oop
+ 	<option: #(atLeastVMProxyMajor:minor: 1 17)>
+ 	^oop class isPointers not and:[oop class isShorts]!



More information about the Vm-dev mailing list