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

commits at source.squeak.org commits at source.squeak.org
Fri Jan 25 20:39:13 UTC 2019


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

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

Name: VMMaker.oscog-eem.2511
Author: eem
Time: 25 January 2019, 12:39:00.098014 pm
UUID: e4a9dcbc-9c4a-44b7-8b17-8c86c2155d6c
Ancestors: VMMaker.oscog-eem.2510

Fix simulation of the SocketPlugin

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

Item was added:
+ ----- Method: SocketPluginSimulator>>cCoerce:to: (in category 'simulation') -----
+ cCoerce: value to: cTypeString
+ 	"Type coercion for translation only; just return the value when running in Smalltalk.
+ 	 This overrides the generic coercion method in VMClass.  For some reason we are the exception.
+ 	 If we want that style of coercion we can send cCoerce:to: to interpreterProxy, not self."
+ 
+ 	^cTypeString = #SocketPtr
+ 		ifTrue: [value coerceTo: #'char *' sim: interpreterProxy]
+ 		ifFalse: [super cCoerce: value to: cTypeString]!



More information about the Vm-dev mailing list