Author: particle
Date: Thu Nov 10 14:04:51 2005
New Revision: 9892

Modified:
   trunk/jit/i386/jit_emit.h
Log:
suppression of i386 jit warnings

Modified: trunk/jit/i386/jit_emit.h
==============================================================================
--- trunk/jit/i386/jit_emit.h   (original)
+++ trunk/jit/i386/jit_emit.h   Thu Nov 10 14:04:51 2005
@@ -1962,7 +1962,7 @@ emit_jump(Parrot_jit_info_t *jit_info, o
         offset = jit_info->arena.op_map[opcode].offset -
                                 (jit_info->native_ptr - jit_info->arena.start);
         if (emit_is8bit(offset - 2)) {
-            emitm_jumps(jit_info->native_ptr, offset - 2);
+            emitm_jumps(jit_info->native_ptr, (char)(offset - 2));
         }
         else {
             emitm_jumpl(jit_info->native_ptr, offset - 5);
@@ -2267,7 +2267,7 @@ Parrot_jit_vtable_n_op(Parrot_jit_info_t
     size_t offset;
     op_info_t *op_info = &interpreter->op_info_table[*jit_info->cur_op];
     int pi;
-    int idx, i, j, op;
+    int idx, i, op;
     int st = 0;         /* stack pop correction */
     extern char **Parrot_exec_rel_addr;
     extern int Parrot_exec_rel_count;
@@ -2563,7 +2563,6 @@ Parrot_jit_vtable_if_unless_op(Parrot_ji
                      Interp * interpreter, int unless)
 {
     int ic = *(jit_info->cur_op + 2);   /* branch offset */
-    char *jmp_ptr, *sav_ptr;
 
     /* emit call  vtable function i.e. get_bool, result eax */
     Parrot_jit_vtable1_op(jit_info, interpreter);

Reply via email to