Author: Whiteknight
Date: Sun Dec 21 06:04:11 2008
New Revision: 34198

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] remove reliance on Parrot_end_jit since it's a static function in 
another file

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        Sun Dec 21 06:04:11 2008
@@ -2166,7 +2166,7 @@
     /* emit jump past exit code, dummy offset
      * this assumes exit code is not longer then a short jump (126 bytes) */
     emitm_jxs(jit_info->native_ptr, emitm_jnz, 0);
-    Parrot_end_jit(jit_info, interp);
+    jit_emit_end(jit_info->native_ptr);
     /* fixup above jump */
     sav_ptr = jit_info->native_ptr;
     jit_info->native_ptr = jmp_ptr;

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        Sun Dec 21 06:04:11 2008
@@ -1816,7 +1816,9 @@
 
 void Parrot_jit_cpcf_op(Parrot_jit_info_t *jit_info, PARROT_INTERP);
 
+/*
 void Parrot_end_jit(Parrot_jit_info_t *jit_info, PARROT_INTERP);
+*/
 
 void Parrot_jit_restart_op(Parrot_jit_info_t *jit_info, PARROT_INTERP);
 

Reply via email to