Author: nickg
Date: Wed Jan 11 02:07:50 2006
New Revision: 11078

Modified:
   branches/nci/MANIFEST.SKIP
   branches/nci/config/gen/makefiles.pm
   branches/nci/config/gen/makefiles/root.in
   branches/nci/src/jit/i386/jit_emit.h
   branches/nci/src/utils.c
   branches/nci/tools/build/nativecall.pl
Log:
NCI #1. Rename nci.c -> nci_builtin.c to sit nicely with forthcoming backends.


Modified: branches/nci/MANIFEST.SKIP
==============================================================================
--- branches/nci/MANIFEST.SKIP  (original)
+++ branches/nci/MANIFEST.SKIP  Wed Jan 11 02:07:50 2006
@@ -867,8 +867,8 @@
 ^src/install_config\.c/
 ^src/jit_cpu\.c$
 ^src/jit_cpu\.c/
-^src/nci\.c$
-^src/nci\.c/
+^src/nci_builtin\.c$
+^src/nci_builtin\.c/
 ^src/null_config\.c$
 ^src/null_config\.c/
 ^src/platform\.c$

Modified: branches/nci/config/gen/makefiles.pm
==============================================================================
--- branches/nci/config/gen/makefiles.pm        (original)
+++ branches/nci/config/gen/makefiles.pm        Wed Jan 11 02:07:50 2006
@@ -50,8 +50,8 @@ sub cflags
 
         # CFLAGS entries must be left-aligned.
         print CFLAGS <<"EOF";
-src/jit_cpu.c -{-Wcast-align}        # lots of noise!
-src/nci.c     -{-Wstrict-prototypes} # lots of noise!
+src/jit_cpu.c       -{-Wcast-align}        # lots of noise!
+src/nci_builtin.c   -{-Wstrict-prototypes} # lots of noise!
 EOF
     }
 

Modified: branches/nci/config/gen/makefiles/root.in
==============================================================================
--- branches/nci/config/gen/makefiles/root.in   (original)
+++ branches/nci/config/gen/makefiles/root.in   Wed Jan 11 02:07:50 2006
@@ -242,7 +242,7 @@ GEN_HEADERS = \
 GEN_SOURCES = \
        $(SRC_DIR)/core_ops.c \
        $(SRC_DIR)/fingerprint.c \
-       $(SRC_DIR)/nci.c \
+       $(SRC_DIR)/nci_builtin.c \
        $(SRC_DIR)/core_ops_switch.c \
        $(SRC_DIR)/jit_cpu.c \
        $(SRC_DIR)/parrot_config.c \
@@ -418,7 +418,7 @@ INTERP_O_FILES = \
        $(SRC_DIR)/spf_vtable$(O) \
        $(SRC_DIR)/datatypes$(O) \
        $(SRC_DIR)/fingerprint$(O) \
-       $(SRC_DIR)/nci$(O) \
+       $(SRC_DIR)/nci_builtin$(O) \
        $(SRC_DIR)/cpu_dep$(O) \
        $(SRC_DIR)/tsq$(O) \
        $(SRC_DIR)/longopt$(O) \
@@ -1067,13 +1067,13 @@ $(SRC_DIR)/dataypes$(O) : $(GENERAL_H_FI
 
 $(SRC_DIR)/exit$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/exit.c
 
-$(SRC_DIR)/nci$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/nci.c
+$(SRC_DIR)/nci_builtin$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/nci_builtin.c
 
 $(SRC_DIR)/vtables$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/vtables.c
 
 $(SRC_DIR)/cpu_dep$(O) : $(GENERAL_H_FILES)
 
-$(SRC_DIR)/nci.c : $(SRC_DIR)/call_list.txt $(BUILD_TOOLS_DIR)/nativecall.pl
+$(SRC_DIR)/nci_builtin.c : $(SRC_DIR)/call_list.txt 
$(BUILD_TOOLS_DIR)/nativecall.pl
        $(PERL) $(BUILD_TOOLS_DIR)/nativecall.pl $(SRC_DIR)/call_list.txt
 
 $(SRC_DIR)/warnings$(O) : $(GENERAL_H_FILES)

Modified: branches/nci/src/jit/i386/jit_emit.h
==============================================================================
--- branches/nci/src/jit/i386/jit_emit.h        (original)
+++ branches/nci/src/jit/i386/jit_emit.h        Wed Jan 11 02:07:50 2006
@@ -3148,7 +3148,7 @@ count_regs(char *sig, char *sig_start)
  * pmc         ... 12(%ebp)
  *
  * The generate function for a specific signature looks quite similar to
- * an optimized compile of src/nci.c:pcf_x_yy(). In case of any troubles
+ * an optimized compile of src/nci_builtin.c:pcf_x_yy(). In case of any 
troubles
  * just compare the disassembly.
  */
 void *
@@ -3311,7 +3311,7 @@ preg:
             default:
                 /*
                  * oops unknown signature:
-                 * cleanup and try nci.c
+                 * cleanup and try nci_builtin.c
                  */
                 mem_free_executable(jit_info.native_ptr);
                 return NULL;

Modified: branches/nci/src/utils.c
==============================================================================
--- branches/nci/src/utils.c    (original)
+++ branches/nci/src/utils.c    Wed Jan 11 02:07:50 2006
@@ -441,7 +441,7 @@ Creates a C array of C<long>s with one m
 elements in C<*array>. The elements are then copied from C<*array> to
 the new array, and the last (extra) element is set to 0.
 
-Used in C<src/nci.c>.
+Used in C<src/nci_builtin.c>.
 
 =cut
 

Modified: branches/nci/tools/build/nativecall.pl
==============================================================================
--- branches/nci/tools/build/nativecall.pl      (original)
+++ branches/nci/tools/build/nativecall.pl      Wed Jan 11 02:07:50 2006
@@ -12,7 +12,7 @@ tools/build/nativecall.pl - Build up the
 
 =head1 DESCRIPTION
 
-This script creates the Native Call Interface file F<src/nci.c>. It
+This script creates the Native Call Interface file F<src/nci_builtin.c>. It
 parses a file of function signatures of the form:
 
     
<return-type-specifier><whitespace><parameter-type-specifiers>[<whitespace>][#<comment>]
@@ -33,7 +33,7 @@ use warnings;
 
 
 # This file will eventually be compiled
-open NCI, ">", "src/nci.c" or die "Can't open nci.c!";
+open NCI, ">", "src/nci_builtin.c" or die "Can't open nci_builtin.c!";
 
 print_head();
 
@@ -230,7 +230,7 @@ sub print_head {
  *
  */
 
-/* nci.c
+/* nci_builtin.c
  *  Copyright: 2001-2005 The Perl Foundation.  All Rights Reserved.
  *  SVN Info
  *     \$Id\$

Reply via email to