[Vm-dev] VM Maker: Cog-eem.439.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Aug 6 03:00:10 UTC 2021


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

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

Name: Cog-eem.439
Author: eem
Time: 5 August 2021, 8:00:06.327797 pm
UUID: 6c260b75-2067-4eee-be70-dfe1654fd28f
Ancestors: Cog-eem.438

Add a test for retrying FastCPrimitive prims.

=============== Diff against Cog-eem.438 ===============

Item was added:
+ ----- Method: CogVMTests>>testFastCPrimitives (in category 'tests') -----
+ testFastCPrimitives
+ 	| int |
+ 	int := Object new.
+ 	int becomeForward: (SmallInteger minVal - 1).
+ 	self assert: -1 equals: SmallInteger maxVal + 1 + int.
+ 	int := Object new.
+ 	int becomeForward: (SmallInteger minVal - 1).
+ 	self assert: -1 equals: (SmallInteger maxVal + 1 digitSubtract: int)!



More information about the Vm-dev mailing list