[Mono-list] Assertion failed in Mono JIT 2.4.2.3 (tarball Mon Aug 31 09:54:11 MDT 2009)

Rodrigo Kumpera kumpera at gmail.com
Mon Sep 21 08:20:04 EDT 2009


On Mon, Sep 21, 2009 at 8:57 AM, Marek Safar <marek.safar at gmail.com> wrote:

> Hi,
>
>> The following patch fixes the runtime crash for me.
>>
>> But the issue is not the runtime, but a compiler bug since mcs generates
>> an int64 on stack as argument for newarr and this not correct.
>>
> Should I fix it or will it break mono specific 64 bits array support ?
>
> Marek
>

64bits array remains to be finished, so don't bother with it for now. There
is some talks
over ecma about changing the size argument for newarr to accept intptr as
well, but
this is far from done.

So my suggestion is that if you find an inptr, leave it there, but if you
find an int64, add a
conv.ovf.i.

Rodrigo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090921/ff756568/attachment.html 


More information about the Mono-list mailing list