develooper Front page | perl.cvs.parrot | Postings from December 2008

[svn:parrot] r34181 - branches/jit_h_files/src/jit/i386

From:
Whiteknight
Date:
December 20, 2008 20:40
Subject:
[svn:parrot] r34181 - branches/jit_h_files/src/jit/i386
Message ID:
20081221044016.F31D5CBA12@x12.develooper.com
Author: Whiteknight
Date: Sat Dec 20 20:40:16 2008
New Revision: 34181

Modified:
   branches/jit_h_files/src/jit/i386/jit_defs.c
   branches/jit_h_files/src/jit/i386/jit_emit.h

Log:
[jit_h_files] 

Modified: branches/jit_h_files/src/jit/i386/jit_defs.c
==============================================================================
--- branches/jit_h_files/src/jit/i386/jit_defs.c	(original)
+++ branches/jit_h_files/src/jit/i386/jit_defs.c	Sat Dec 20 20:40:16 2008
@@ -1592,7 +1592,7 @@
             break;
         case PARROT_ARG_FLOATVAL|PARROT_ARG_CONSTANT:
             if (recursive) {
-                jit_emit_mov_ri_n(interp, NATIVECODE, FSR1, &JI_CONST(2)->u.number);
+                jit_emit_mov_ri_n(interp, NATIVECODE, FSR1, &JIT_CONST(2)->u.number);
             }
             else {
                 jit_emit_mov_ri_n(interp, NATIVECODE, FSR1, &JIT_CONST(2)->u.number);

Modified: branches/jit_h_files/src/jit/i386/jit_emit.h
==============================================================================
--- branches/jit_h_files/src/jit/i386/jit_emit.h	(original)
+++ branches/jit_h_files/src/jit/i386/jit_emit.h	Sat Dec 20 20:40:16 2008
@@ -1552,9 +1552,8 @@
 
 #  define NATIVECODE jit_info->native_ptr
 #  define CUR_OPCODE jit_info->cur_op
-#  define CONST(i) PCONST(jit_info->cur_op[(i)])
+#  define JIT_CONST(i) PCONST(jit_info->cur_op[(i)])
 
-#  undef CONST
 /*
  * if jit_emit_noop is defined, it does align a jump target
  * to 1 << JUMP_ALIGN



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