VM Maker: VMMakerCompatibilityForPharo6-eem.2.mcz

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

VM Maker: VMMakerCompatibilityForPharo6-eem.2.mcz

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

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

Name: VMMakerCompatibilityForPharo6-eem.2
Author: EliotMiranda
Time: 14 August 2018, 12:49:06.545844 pm
UUID: 99835c3d-cc2f-0d00-8d4a-fc380db6fb3c
Ancestors: VMMakerCompatibilityForPharo6-eem.1

isCompiledBlock and bytesPerElement

=============== Diff against VMMakerCompatibilityForPharo6-eem.1 ===============

Item was added:
+ ----- Method: ArrayedCollection>>bytesPerElement (in category '*VMMakerCompatibilityForPharo6-accessing') -----
+ bytesPerElement
+ | bytesPerElementOrZero |
+ bytesPerElementOrZero := #[0 0 0 0 0 0 0 0 8 4 4 2 2 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1] at: self class instSpec.
+ ^bytesPerElementOrZero = 0
+ ifTrue: [Smalltalk wordSize]
+ ifFalse: [bytesPerElementOrZero]!

Item was added:
+ ----- Method: ByteArray>>bytesPerElement (in category '*VMMakerCompatibilityForPharo6-accessing') -----
+ bytesPerElement
+ "Number of bytes in each item.  This multiplied by (self size)*8 gives the number of bits stored."
+ ^ 1!

Item was added:
+ ----- Method: ColorArray>>bytesPerElement (in category '*VMMakerCompatibilityForPharo6-accessing') -----
+ bytesPerElement
+
+ ^4!

Item was added:
+ ----- Method: CompiledBlock>>isCompiledBlock (in category '*VMMakerCompatibilityForPharo6-testing') -----
+ isCompiledBlock
+ ^true!

Item was added:
+ ----- Method: CompiledCode>>isCompiledBlock (in category '*VMMakerCompatibilityForPharo6-testing') -----
+ isCompiledBlock
+ ^false!

Item was added:
+ ----- Method: MatrixTransform2x3>>bytesPerElement (in category '*VMMakerCompatibilityForPharo6-accessing') -----
+ bytesPerElement
+
+ ^ 4!

Item was added:
+ ----- Method: ShortIntegerArray>>bytesPerElement (in category '*VMMakerCompatibilityForPharo6-accessing') -----
+ bytesPerElement
+ ^2!

Item was added:
+ ----- Method: ShortRunArray>>bytesPerElement (in category '*VMMakerCompatibilityForPharo6-accessing') -----
+ bytesPerElement
+
+ ^ 4!

Item was added:
+ ----- Method: SmalltalkImage>>primitiveErrorTable (in category '*VMMakerCompatibilityForPharo6-special objects') -----
+ primitiveErrorTable
+ "Smalltalk primitiveErrorTable"
+ ^self specialObjectsArray at: 52!

Item was added:
+ ----- Method: WordArray>>bytesPerElement (in category '*VMMakerCompatibilityForPharo6-accessing') -----
+ bytesPerElement
+ "Number of bytes in each item.  This multiplied by (self size)*8 gives the number of bits stored."
+ ^ 4!