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

commits at source.squeak.org commits at source.squeak.org
Mon Sep 7 20:55:58 UTC 2020


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

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

Name: VMMaker.oscog-eem.2802
Author: eem
Time: 7 September 2020, 1:55:48.172053 pm
UUID: 599172af-2cce-44a4-9004-23bd36c89807
Ancestors: VMMaker.oscog-eem.2801

No point inlining methodReturnString: ever.

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

Item was changed:
  ----- Method: StackInterpreter>>methodReturnString: (in category 'plugin primitive support') -----
  methodReturnString: aCString
  	"Attempt to answer a ByteString for a given C string as the result of a primitive."
  	<var: 'aCString' type: #'char *'>
+ 	<inline: #never>
  	self deny: self failed.
  	aCString
  		ifNil: [primFailCode := PrimErrOperationFailed]
  		ifNotNil:
  			[(objectMemory stringForCString: aCString)
  				ifNil: [primFailCode := PrimErrNoMemory]
  				ifNotNil: [:result| self pop: argumentCount+1 thenPush: result]].
  	^0!



More information about the Vm-dev mailing list