VM Maker: VMMaker.oscog-nice.2753.mcz

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

VM Maker: VMMaker.oscog-nice.2753.mcz

Nicolas Cellier uploaded a new version of VMMaker to project VM Maker:

==================== 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]!