Currently the ARM jit doesn't compile. I guess that this is due to the jit
headers being changed and tested on x86, and I believe the appended patch is
the correct fix.
Nicholas Clark
--
Even better than the real thing: http://nms-cgi.sourceforge.net/
--- jit/arm/jit_emit.h.orig Tue Aug 13 21:36:52 2002
+++ jit/arm/jit_emit.h Sat Aug 24 13:31:25 2002
@@ -960,7 +960,7 @@ Parrot_jit_save_registers(Parrot_jit_inf
struct Parrot_Interp * interpreter)
{
Parrot_jit_optimizer_section_t *cur_se = jit_info->optimizer->cur_section;
- int i = cur_se->registers_used;
+ int i = cur_se->int_registers_used;
while (i--)
if (cur_se->int_reg_dir[cur_se->int_reg_usage[i]] & PARROT_ARGDIR_OUT) {
@@ -973,7 +973,7 @@ Parrot_jit_load_registers(Parrot_jit_inf
struct Parrot_Interp *interpreter)
{
Parrot_jit_optimizer_section_t *cur_se = jit_info->optimizer->cur_section;
- int i = cur_se->registers_used;
+ int i = cur_se->int_registers_used;
while (i--)
if (cur_se->int_reg_dir[cur_se->int_reg_usage[i]] & PARROT_ARGDIR_IN) {
Thread Next