VM Maker: VMMaker.oscog-eem.2777.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.2777.mcz

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

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

Name: VMMaker.oscog-eem.2777
Author: eem
Time: 16 July 2020, 6:29:24.838687 pm
UUID: 6b0b031e-efb5-4b78-af61-94095803d9ea
Ancestors: VMMaker.oscog-eem.2776

Test accessors for the new primitiveCDataModel.

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

Item was added:
+ ----- Method: ThreadedFFIPlugin class>>primitiveCDataModel (in category 'simulation') -----
+ primitiveCDataModel
+ "Answer the name for the platform C compiler's data model, ILP32, LP64, et al."
+ <primitive: #primitiveCDataModel module: #SqueakFFIPrims error: ec>
+ self primitiveFailed
+
+ "self primitiveCDataModel"!

Item was added:
+ ----- Method: ThreadedFFIPlugin class>>primitiveSizesInto: (in category 'simulation') -----
+ primitiveSizesInto: aByteArrayOfSizeNine
+ "Answer the platform C compiler's sizes for char, short, int, long, long long, wchar_t, float, double, void *."
+ <primitive: #primitiveCDataModel module: #SqueakFFIPrims error: ec>
+ self primitiveFailed
+
+ "(#(char short int long #'long long' wchar_t float double #'void *')
+ with: (self primitiveSizesInto: (ByteArray new: 9))
+ collect: [:n :s| {n. s}]) flatten"!