[Vm-dev] VM Maker: Cog-eem.451.mcz
commits at source.squeak.org
commits at source.squeak.org
Tue Nov 8 20:03:44 UTC 2022
Eliot Miranda uploaded a new version of Cog to project VM Maker:
http://source.squeak.org/VMMaker/Cog-eem.451.mcz
==================== Summary ====================
Name: Cog-eem.451
Author: eem
Time: 8 November 2022, 12:03:41.911161 pm
UUID: b66d08cf-0116-4cfb-8c05-efb499240793
Ancestors: Cog-eem.450
Fix several sends of [positive|signed]MachineIntegerFor: which is implemented in InterpreterPlugin, not InterpreterProxy.
=============== Diff against Cog-eem.450 ===============
Item was changed:
----- Method: ProcessorSimulatorPlugin>>primitiveNewCPU (in category 'primitives') -----
primitiveNewCPU
| cpu |
<var: #cpu type: #'void *'>
self primitive: #primitiveNewCPU parameters: #().
cpu := self newCPU.
cpu = 0 ifTrue:
[^interpreterProxy primitiveFail].
+ interpreterProxy methodReturnValue: (self positiveMachineIntegerFor: (self cCoerceSimple: cpu to: #'usqIntptr_t'))!
- interpreterProxy
- pop: 1
- thenPush: (interpreterProxy positiveMachineIntegerFor:
- (self cCoerceSimple: cpu
- to: 'usqIntptr_t'))!
More information about the Vm-dev
mailing list