Eliot Miranda uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-eem.2808.mcz==================== Summary ====================
Name: VMMaker.oscog-eem.2808
Author: eem
Time: 18 September 2020, 11:02:56.365321 am
UUID: e663fef3-a7c8-40af-8ec6-6c2f52ae8a93
Ancestors: VMMaker.oscog-eem.2807
Slang, rename moduleExportsName to internalModuleName to better explain its function.
=============== Diff against VMMaker.oscog-eem.2807 ===============
Item was added:
+ ----- Method: InterpreterPlugin class>>internalModuleName (in category 'translation') -----
+ internalModuleName
+ "Answer the name to include in receiver's internal plugin exports.
+ This is the value of the module: argument in named primitives.
+ By default answer the moduleName."
+
+ ^self moduleName!
Item was removed:
- ----- Method: InterpreterPlugin class>>moduleExportsName (in category 'translation') -----
- moduleExportsName
- "Answer the name to include in receiver's internal plugin exports.
- This is the value of the module: argument in named primitives.
- By default answer the moduleName."
-
- ^self moduleName!
Item was added:
+ ----- Method: ThreadedFFIPlugin class>>internalModuleName (in category 'translation') -----
+ internalModuleName
+ "To make the inclusion of the platform-specific plugin to work it can't use
+ its moduleName in the exports but must use the proper moduleName."
+
+ ^ThreadedFFIPlugin moduleName!
Item was removed:
- ----- Method: ThreadedFFIPlugin class>>moduleExportsName (in category 'translation') -----
- moduleExportsName
- "To make the inclusion of the platform-specific plugin to work it can't use
- its moduleName in the exports but must use the proper moduleName."
-
- ^ThreadedFFIPlugin moduleName!
Item was changed:
----- Method: VMPluginCodeGenerator>>emitExportsOn: (in category 'C code generator') -----
emitExportsOn: aStream
"Store all the exported primitives in the form used by the internal named prim system."
| nilVMClass |
(nilVMClass := vmClass isNil) ifTrue: "We need a vmClass temporarily to compute accessor depths."
[vmClass := StackInterpreter].
aStream cr; cr; nextPutAll:'#ifdef SQUEAK_BUILTIN_PLUGIN'.
self emitExportsNamed: pluginClass moduleName
+ pluginName: pluginClass internalModuleName
- pluginName: pluginClass moduleExportsName
on: aStream.
aStream cr; nextPutAll: '#else /* ifdef SQ_BUILTIN_PLUGIN */'; cr; cr.
self emitAccessorDepthsOn: aStream.
aStream cr; nextPutAll: '#endif /* ifdef SQ_BUILTIN_PLUGIN */'; cr.
nilVMClass ifTrue:
[vmClass := nil]!