VM Maker: Cog-eem.411.mcz

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

VM Maker: Cog-eem.411.mcz

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

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

Name: Cog-eem.411
Author: eem
Time: 26 September 2020, 7:58:04.612249 pm
UUID: 2c630b69-46a9-47dd-832c-02b1313f77a8
Ancestors: Cog-eem.410

Reduce the Alien analysis function duplication.

=============== Diff against Cog-eem.410 ===============

Item was removed:
- ----- Method: ProcessorSimulatorPlugin>>sizeField: (in category 'alien support') -----
- sizeField: rcvr
- "Answer the first field of rcvr which is assumed to be an Alien of at least 8 bytes"
- <inline: true>
- ^self longAt: rcvr + interpreterProxy baseHeaderSize!

Item was removed:
- ----- Method: ProcessorSimulatorPlugin>>startOfData: (in category 'alien support') -----
- startOfData: rcvr "<Alien oop> ^<Integer>"
- "Answer the start of rcvr's data.  For direct aliens this is the address of
- the second field.  For indirect and pointer aliens it is what the second field points to."
- <inline: true>
- ^(self sizeField: rcvr) > 0
- ifTrue: [rcvr + interpreterProxy baseHeaderSize + interpreterProxy bytesPerOop]
- ifFalse: [self longAt: rcvr + interpreterProxy baseHeaderSize + interpreterProxy bytesPerOop]!