dotgnu-libjit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libjit-developers] Patch to handle constants in jit-insn.c


From: Aleksey Demakov
Subject: Re: [Libjit-developers] Patch to handle constants in jit-insn.c
Date: Thu, 15 Dec 2005 18:48:39 +0600
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

Hi Avinash,

Avinash Atreya wrote:

In jit_value_t jit_insn_address_of(jit_function_t, jit_value_t), before making the jit_value addressable, we need to check if it is a constant. If it a constant, a it needs to be assigned to a temporary variable and then made addressable. Hit upon this while trying to implement arrays for dpas.


Could you please provide more information on the problem. Why do you need to take an address of a constant? I would rather consider calling jit_insn_address_of() on a constant value as error condition and therefore simply
return zero from the function in this case.

Regards,
Aleksey



reply via email to

[Prev in Thread] Current Thread [Next in Thread]