<div dir="auto">Hi Eliot,<div dir="auto"><br></div><div dir="auto">No problem, I have a couple of ideas on how to facilitate this.</div><div dir="auto"><br><br><div data-smartmail="gmail_signature" dir="auto">Cheers,<br>Alistair<br>(on phone)</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue., 23 Oct. 2018, 17:06 Eliot Miranda, <<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br>
Hi Alistair,<br>
<br>
<br>
> On Oct 22, 2018, at 11:42 PM, Alistair Grant <<a href="mailto:akgrant0710@gmail.com" target="_blank" rel="noreferrer">akgrant0710@gmail.com</a>> wrote:<br>
> <br>
> <br>
> Hi Eliot,<br>
> <br>
>> On Tue, 23 Oct 2018 at 01:08, <<a href="mailto:commits@source.squeak.org" target="_blank" rel="noreferrer">commits@source.squeak.org</a>> wrote:<br>
>> <br>
>> <br>
>> Eliot Miranda uploaded a new version of VMMaker to project VM Maker:<br>
>> <a href="http://source.squeak.org/VMMaker/VMMaker.oscog-eem.2471.mcz" rel="noreferrer noreferrer" target="_blank">http://source.squeak.org/VMMaker/VMMaker.oscog-eem.2471.mcz</a><br>
>> <br>
>> ==================== Summary ====================<br>
>> <br>
>> Name: VMMaker.oscog-eem.2471<br>
>> Author: eem<br>
>> Time: 22 October 2018, 4:06:22.886297 pm<br>
>> UUID: 1d2b46b2-adf0-4b97-8422-59b4f078dfe3<br>
>> Ancestors: VMMaker.oscog-eem.2470<br>
>> <br>
>> Simulation:<br>
>> Fix a regression in memcpy:_:_: in VMMaker.oscog-eem.2467.  Make malloc: simuulate a la alloca:.<br>
> <br>
> Changing the result of malloc: from a ByteArray to a CArrayAccessor<br>
> changes the indexing from 1 based to 0 based and removes other<br>
> collection functionality, e.g. #allButLast, which breaks other parts<br>
> of the simulator, e.g. #cStringOrNullFor: and #primitiveGetenv.<br>
> <br>
> Is this really what you want to do?<br>
<br>
I think so.  We should be able to reduce the amount of cCode:inSmalltalk: hacks if we get the basics right.  But if it breaks things for you feel free to revert.  Just capture the test cases that break somehow (image, doit, etc) then I can try and fix things later.  I’ll take a look at cStringOrNullFor: today though.<br>
<br>
> <br>
> Cheers,<br>
> Alistair<br>
</blockquote></div>