VM Maker: VMMaker.oscog-eem.2891.mcz

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

VM Maker: VMMaker.oscog-eem.2891.mcz

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

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

Name: VMMaker.oscog-eem.2891
Author: eem
Time: 19 November 2020, 3:41:54.060939 pm
UUID: c72f6268-da7e-45bc-9d75-146609259374
Ancestors: VMMaker.oscog-eem.2890

And splObj: is needed for the last case in cStringOrNullFor:.

=============== Diff against VMMaker.oscog-eem.2890 ===============

Item was changed:
  ----- Method: TSendNode>>hasSideEffect (in category 'testing') -----
  "Answer if the parse tree rooted at this node has a side-effect or not.
  We aassume most sends do, but filter-out arithmetic and certain reads."
  (#( baseHeaderSize bytesPerOop bytesPerWord logBytesPerOop
  numSmallIntegerBits numSmallIntegerTagBits numTagBits
  shiftForWord tagMask wordSize) includes: selector) ifTrue:
  (#(#+ #- #* #/ #// #\\ #= #== #~= #~~ << >>
  "These two important for Spur is:instanceOf:compactClassIndex: et al"
+ longAt: fetchPointer:ofObject: splObj:) includes: selector) ifFalse:
- longAt: fetchPointer:ofObject:) includes: selector) ifFalse:
  ^receiver hasSideEffect or: [arguments first hasSideEffect]!