VM Maker: VMMakerUI-eem.33.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

VM Maker: VMMakerUI-eem.33.mcz

commits-2
 
Eliot Miranda uploaded a new version of VMMakerUI to project VM Maker:
http://source.squeak.org/VMMaker/VMMakerUI-eem.33.mcz

==================== 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)
  skipSeparators;
  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!