[Vm-dev] VM Maker: VMMakerUI-eem.33.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Nov 10 00:25:00 UTC 2020

Eliot Miranda uploaded a new version of VMMakerUI to project VM Maker:

==================== Summary ====================

Name: VMMakerUI-eem.33
Author: eem
Time: 9 November 2020, 4:24:58.670815 pm
UUID: 3ea7d85d-5abd-49c2-a870-576e907a1a05
Ancestors: VMMakerUI-eem.32

Hack in a short cut to the CogBytecodeMethodInspector in machine code frame inspectors if the shift key is pressed (we're missing a CogMethodInspector for now).

=============== Diff against VMMakerUI-eem.32 ===============

Item was changed:
  ----- Method: CogAbstractFrameInspector>>interpretMethod:value:at: (in category 'evaluating') -----
  interpretMethod: fieldName value: valueString at: address
  	| methodFieldString secondMethodFieldString  |
  	methodFieldString := valueString copyUpTo: Character tab.
  	secondMethodFieldString := (ReadStream on: valueString from: methodFieldString size + 2 to: valueString size)
  									upTo: $:.
+ 	Sensor shiftPressed ifTrue:
+ 		[^(CogBytecodeMethodInspector on: coInterpreter)
+ 			oop: (coInterpreter frameMethodObject: self framePointer);
+ 			displayPinnable: fieldName, ' ', valueString].
+ 	"compare ignoring least significant bits, which are flags"
- 	"compare ignoring least signirficant bits, which are flags"
  	methodFieldString allButLast = secondMethodFieldString allButLast ifTrue:
  		[^(CogBytecodeMethodInspector on: coInterpreter)
  			oop: (coInterpreter longAt: address);
  			displayPinnable: fieldName, ' ', valueString].
  	"It's a CogMethod; use a different inspector"
  	self shouldBeImplemented!

More information about the Vm-dev mailing list