Author: jhoblitt
Date: Sun Feb 19 16:24:57 2006
New Revision: 11673

Added:
   trunk/tools/build/jit2c.pl
      - copied, changed from r11501, trunk/tools/build/jit2h.pl
Removed:
   trunk/tools/build/jit2h.pl
Modified:
   trunk/MANIFEST
   trunk/config/gen/makefiles/root.in
Log:
rename tools/build/jit2h.pl -> tools/build/jit2c.pl

Modified: trunk/MANIFEST
==============================================================================
--- trunk/MANIFEST      (original)
+++ trunk/MANIFEST      Sun Feb 19 16:24:57 2006
@@ -2117,7 +2117,7 @@ t/stress/gc.t                           
 t/tools/pbc_merge.t                               []
 tools/build/c2str.pl                              []
 tools/build/fingerprint_c.pl                      []
-tools/build/jit2h.pl                              []
+tools/build/jit2c.pl                              []
 tools/build/list_unjitted.pl                      []
 tools/build/nativecall.pl                         []
 tools/build/ops2c.pl                              [devel]

Modified: trunk/config/gen/makefiles/root.in
==============================================================================
--- trunk/config/gen/makefiles/root.in  (original)
+++ trunk/config/gen/makefiles/root.in  Sun Feb 19 16:24:57 2006
@@ -124,6 +124,7 @@ LINTOPTS   =
 
 INNO_SETUP = iscc
 
+JIT_BUILD_TOOL = $(BUILD_TOOLS_DIR)/jit2h.pl
 
 ###############################################################################
 #
@@ -1114,11 +1115,11 @@ $(INC_DIR)/jit_emit.h : $(SRC_DIR)/jit/@
 $(INC_DIR)/exec_dep.h : $(SRC_DIR)/jit/@jitcpuarch@/exec_dep.h
        $(CP) $(SRC_DIR)/jit/@jitcpuarch@/exec_dep.h $(INC_DIR)/exec_dep.h
 $(SRC_DIR)/jit_cpu.c : lib/Parrot/OpLib/core.pm $(INC_DIR)/jit_emit.h \
-       $(SRC_DIR)/jit/@jitcpuarch@/core.jit $(BUILD_TOOLS_DIR)/jit2h.pl
-       $(PERL) $(BUILD_TOOLS_DIR)/jit2h.pl @jitcpuarch@ $(SRC_DIR)/jit_cpu.c
+       $(SRC_DIR)/jit/@jitcpuarch@/core.jit $(JIT_BUILD_TOOL)
+       $(PERL) $(JIT_BUILD_TOOL) @jitcpuarch@ $(SRC_DIR)/jit_cpu.c
 $(SRC_DIR)/exec_cpu.c : lib/Parrot/OpLib/core.pm $(INC_DIR)/jit_emit.h \
-       $(SRC_DIR)/jit/@jitcpuarch@/core.jit @TEMP_exec_h@ 
$(INC_DIR)/exec_dep.h $(BUILD_TOOLS_DIR)/jit2h.pl
-       $(PERL) $(BUILD_TOOLS_DIR)/jit2h.pl @jitcpuarch@ $(SRC_DIR)/exec_cpu.c
+       $(SRC_DIR)/jit/@jitcpuarch@/core.jit @TEMP_exec_h@ 
$(INC_DIR)/exec_dep.h $(JIT_BUILD_TOOL)
+       $(PERL) $(JIT_BUILD_TOOL) @jitcpuarch@ $(SRC_DIR)/exec_cpu.c
 
 # imcc file dependencies
 #

Copied: trunk/tools/build/jit2c.pl (from r11501, trunk/tools/build/jit2h.pl)
==============================================================================
--- trunk/tools/build/jit2h.pl  (original)
+++ trunk/tools/build/jit2c.pl  Sun Feb 19 16:24:57 2006
@@ -4,11 +4,11 @@
 
 =head1 NAME
 
-tools/build/jit2h.pl - JIT to C
+tools/build/jit2c.pl - JIT to C
 
 =head1 SYNOPSIS
 
-    % perl tools/build/jit2h.pl <cpu-architecture-name> jit_cpu.c
+    % perl tools/build/jit2c.pl <cpu-architecture-name> jit_cpu.c
 
 =head1 DESCRIPTION
 
@@ -460,7 +460,7 @@ if ($genfile =~ /jit_cpu.c/) {
 EOC
 }
 
-print("jit2h: JITed $njit (+ $vjit vtable) of $core_numops ops\n");
+print("jit2c: JITed $njit (+ $vjit vtable) of $core_numops ops\n");
 sub make_subs {
     my ($ptr, $type, $index) = @_;
     return(($ptr eq '&' ? '&' : '') . sprintf($argmaps{$type_to_arg{$type}}, 
$index));

Reply via email to