[Libjit-developers] Patch to handle constants in jit-insn.c
From:
Avinash Atreya
Subject:
[Libjit-developers] Patch to handle constants in jit-insn.c
Date:
Thu, 15 Dec 2005 15:27:24 +0530
Hi all,
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.