[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Libjit] [Dotgnu-libjit] Function cannot return constant
From: |
Aleksey Demakov |
Subject: |
Re: [Libjit] [Dotgnu-libjit] Function cannot return constant |
Date: |
Wed, 27 Feb 2013 16:35:52 +0300 |
Hi Alexey,
On Wed, Feb 27, 2013 at 3:45 PM, Alexey Galakhov <address@hidden> wrote:
> I investigated the issue. It is caused by some kind of memory corruption
> due to inconsistent calls to the following:
>
Please check if the attached file fixes the problem.
> I suggest using jit_cache_node_t instead of void* to protect against
> such problems. Why not use compiler's type checks?
>
The memory manager is supposed to be pluggable. There might be
different function node types in different memory managers.
Regards,
Aleksey
dump_end.patch
Description: Binary data