[Vm-dev] VM Maker: VMMaker.oscog-cb.1286.mcz
commits at source.squeak.org
commits at source.squeak.org
Tue May 5 14:28:11 UTC 2015
Eliot Miranda uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-cb.1286.mcz
==================== Summary ====================
Name: VMMaker.oscog-cb.1286
Author: cb
Time: 5 May 2015, 4:26:27.068 pm
UUID: 1f96acd1-0fdd-4775-8165-485cba2fdb10
Ancestors: VMMaker.oscog-cb.1285
trap callback have no freaking argument any more.
=============== Diff against VMMaker.oscog-cb.1285 ===============
Item was changed:
----- Method: CoInterpreter>>ceSistaTrap (in category 'trampolines') -----
ceSistaTrap
"When we arrive here, the value that trapped is pushed on stack"
<api>
<option: #SistaVM>
| context |
instructionPointer := self popStack.
context := self ensureFrameIsMarried: framePointer SP: stackPointer.
self push: context.
self push: instructionPointer.
^self
ceSendAbort: (objectMemory splObj: SelectorSistaTrap)
to: context
+ numArgs: 0!
- numArgs: 1!
Item was changed:
----- Method: StackInterpreter>>respondToSistaTrap (in category 'sista bytecodes') -----
respondToSistaTrap
| ourContext |
<sharedCodeInCase: #unconditionnalTrapBytecode>
messageSelector := objectMemory splObj: SelectorSistaTrap.
ourContext := self ensureFrameIsMarried: localFP SP: localSP.
self internalPush: ourContext.
+ argumentCount := 0.
- argumentCount := 1.
self normalSend!
More information about the Vm-dev
mailing list