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

commits-2
 
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!