[Vm-dev] VM Maker: VMMaker.oscog-eem.3009.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Aug 1 05:06:19 UTC 2021


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

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

Name: VMMaker.oscog-eem.3009
Author: eem
Time: 31 July 2021, 10:06:09.440839 pm
UUID: d75b453d-0170-480a-bcb1-d7a2721e1a10
Ancestors: VMMaker.oscog-eem.3008

Slang: fix bug in copying of TBraceCaseNode, which was forgetting to do any kind of copy at all.  This caused destructive update of the parse tree of ThreadedX64SysVFFIPlugin>>#ffiCalloutTo:SpecOnStack:in: when computing its accessor depth.

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

Item was added:
+ ----- Method: TBraceCaseNode>>postCopy (in category 'copying') -----
+ postCopy
+ 	caseLabels := caseLabels collect: [:ea| ea copy].
+ 	cases := cases collect: [:ea| ea copy]!

Item was added:
+ ----- Method: TBraceCaseNode>>printOn:level: (in category 'printing') -----
+ printOn: aStream level: level
+ 	aStream crtab: level; nextPut: ${.
+ 	caseLabels with: cases do:
+ 		[:caseLabel :case|
+ 		caseLabel printOn: aStream.
+ 		aStream nextPutAll: ' -> '.
+ 		case printOn: aStream level: level + 1.
+ 		aStream nextPut: $.].
+ 	aStream space; nextPut: $}!



More information about the Vm-dev mailing list