develooper Front page | perl.perl6.internals | Postings from August 2002

[PATCH] make ARM jit compile

Thread Next
From:
Nicholas Clark
Date:
August 24, 2002 11:09
Subject:
[PATCH] make ARM jit compile
Message ID:
20020824180219.GK280@Bagpuss.unfortu.net
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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About