[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:

==================== 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') -----
  	"When we arrive here, the value that trapped is pushed on stack"
  	<option: #SistaVM>
  	| context |
  	instructionPointer := self popStack.
  	context := self ensureFrameIsMarried: framePointer SP: stackPointer.
  	self push: context.
  	self push: instructionPointer.
  		ceSendAbort: (objectMemory splObj: SelectorSistaTrap)
  		to: context
+ 		numArgs: 0!
- 		numArgs: 1!

Item was changed:
  ----- Method: StackInterpreter>>respondToSistaTrap (in category 'sista bytecodes') -----
  	| 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