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

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

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

Name: VMMaker.oscog-eem.2491
Author: eem
Time: 6 December 2018, 3:13:00.371833 pm
UUID: 238ebc4c-0563-4edd-8b14-740ca18594f7
Ancestors: VMMaker.oscog-eem.2490

...and fix the signature of alloca.

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

Item was changed:
  ----- Method: SerialPlugin>>copyPortNameToCString: (in category 'private-support') -----
  copyPortNameToCString: portName
  <returnTypeC: #'char *'>
  | port portNameSize |
  <inline: #always>
  <var: 'port' type: #'char *'>
  portNameSize := interpreterProxy slotSizeOf: (portName asOop: String).
+ port := self alloca: portNameSize + 1.
- port := self alloca: portNameSize + 1 _: (self sizeof: #char).
  self memcpy: port _: portName _: portNameSize.
  port at: portNameSize put: 0.
  ^port!