[svn:parrot] r41112 - in trunk: . config/gen/makefiles include/parrot src/call src/gc

whiteknight at svn.parrot.org whiteknight at svn.parrot.org
Mon Sep 7 14:00:42 UTC 2009


Author: whiteknight
Date: Mon Sep  7 14:00:38 2009
New Revision: 41112
URL: https://trac.parrot.org/parrot/changeset/41112

Log:
[ctx] delete the unneeded files register.h and alloc_register.c.

Deleted:
   trunk/include/parrot/register.h
   trunk/src/gc/alloc_register.c
Modified:
   trunk/MANIFEST
   trunk/config/gen/makefiles/root.in
   trunk/include/parrot/interpreter.h
   trunk/include/parrot/parrot.h
   trunk/src/call/context.c

Modified: trunk/MANIFEST
==============================================================================
--- trunk/MANIFEST	Mon Sep  7 13:49:29 2009	(r41111)
+++ trunk/MANIFEST	Mon Sep  7 14:00:38 2009	(r41112)
@@ -996,7 +996,6 @@
 include/parrot/pmc.h                                        [main]include
 include/parrot/pmc_freeze.h                                 [main]include
 include/parrot/pobj.h                                       [main]include
-include/parrot/register.h                                   [main]include
 include/parrot/runcore_api.h                                [main]include
 include/parrot/runcore_trace.h                              [main]include
 include/parrot/scheduler.h                                  [main]include
@@ -1275,7 +1274,6 @@
 src/exit.c                                                  []
 src/extend.c                                                []
 src/gc/alloc_memory.c                                       []
-src/gc/alloc_register.c                                     []
 src/gc/alloc_resources.c                                    []
 src/gc/api.c                                                []
 src/gc/gc_inf.c                                             []

Modified: trunk/config/gen/makefiles/root.in
==============================================================================
--- trunk/config/gen/makefiles/root.in	Mon Sep  7 13:49:29 2009	(r41111)
+++ trunk/config/gen/makefiles/root.in	Mon Sep  7 14:00:38 2009	(r41112)
@@ -424,7 +424,6 @@
     $(SRC_DIR)/extend$(O) \
     $(SRC_DIR)/extend_vtable$(O) \
     $(SRC_DIR)/gc/alloc_memory$(O) \
-    $(SRC_DIR)/gc/alloc_register$(O) \
     $(SRC_DIR)/gc/api$(O) \
     $(SRC_DIR)/gc/generational_ms$(O) \
     $(SRC_DIR)/gc/incremental_ms$(O) \
@@ -1196,8 +1195,6 @@
 
 $(SRC_DIR)/parrot$(O) : $(GENERAL_H_FILES)
 
-$(SRC_DIR)/gc/alloc_register$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/pmc/pmc_sub.h
-
 $(SRC_DIR)/runcore/cores$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/runcore/cores.str \
 	$(SRC_DIR)/pmc/pmc_sub.h
 

Modified: trunk/include/parrot/interpreter.h
==============================================================================
--- trunk/include/parrot/interpreter.h	Mon Sep  7 13:49:29 2009	(r41111)
+++ trunk/include/parrot/interpreter.h	Mon Sep  7 14:00:38 2009	(r41112)
@@ -132,7 +132,6 @@
 #define Interp_core_SET(interp, core)   ((interp)->run_core = (core))
 #define Interp_core_TEST(interp, core)  ((interp)->run_core == (core))
 
-#include "parrot/register.h"
 #include "parrot/context.h"
 #include "parrot/parrot.h"
 #include "parrot/warnings.h"

Modified: trunk/include/parrot/parrot.h
==============================================================================
--- trunk/include/parrot/parrot.h	Mon Sep  7 13:49:29 2009	(r41111)
+++ trunk/include/parrot/parrot.h	Mon Sep  7 14:00:38 2009	(r41112)
@@ -267,7 +267,6 @@
 #include "parrot/list.h"
 #include "parrot/pmc_freeze.h"
 #include "parrot/vtable.h"
-#include "parrot/register.h"
 #include "parrot/context.h"
 #include "parrot/exceptions.h"
 #include "parrot/warnings.h"

Deleted: trunk/include/parrot/register.h
==============================================================================
--- trunk/include/parrot/register.h	Mon Sep  7 14:00:38 2009	(r41111)
+++ /dev/null	00:00:00 1970	(deleted)
@@ -1,28 +0,0 @@
-/* register.h
- *  Copyright (C) 2001-2008, Parrot Foundation.
- *  SVN Info
- *     $Id$
- *  Overview:
- *     Defines the register api
- *  Data Structure and Algorithms:
- *  History:
- *  Notes:
- *  References:
- */
-
-#ifndef PARROT_REGISTER_H_GUARD
-#define PARROT_REGISTER_H_GUARD
-
-
-
-/* HEADERIZER BEGIN: src/gc/alloc_register.c */
-/* HEADERIZER END: src/gc/alloc_register.c */
-
-#endif /* PARROT_REGISTER_H_GUARD */
-
-/*
- * Local variables:
- *   c-file-style: "parrot"
- * End:
- * vim: expandtab shiftwidth=4:
- */

Modified: trunk/src/call/context.c
==============================================================================
--- trunk/src/call/context.c	Mon Sep  7 13:49:29 2009	(r41111)
+++ trunk/src/call/context.c	Mon Sep  7 14:00:38 2009	(r41112)
@@ -14,9 +14,6 @@
 
 #include "parrot/parrot.h"
 #include "parrot/call.h"
-
-#include "parrot/parrot.h"
-#include "parrot/register.h"
 #include "../pmc/pmc_sub.h"
 
 /* set CTX_LEAK_DEBUG_FULL to 1 for enhanced context debugging.

Deleted: trunk/src/gc/alloc_register.c
==============================================================================
--- trunk/src/gc/alloc_register.c	Mon Sep  7 14:00:38 2009	(r41111)
+++ /dev/null	00:00:00 1970	(deleted)
@@ -1,38 +0,0 @@
-/*
-Copyright (C) 2001-2009, Parrot Foundation.
-$Id$
-
-=head1 NAME
-
-src/gc/register.c - Register handling routines
-
-=head1 DESCRIPTION
-
-Parrot has 4 register sets, one for each of its basic types. The number of
-registers in each set varies depending on the use counts of the subroutine and
-is determined by the PASM/PIR compiler in the register allocation pass
-(F<imcc/reg_alloc.c>).
-
-=cut
-
-*/
-
-/* HEADERIZER HFILE: include/parrot/register.h */
-
-/*
-
-=head1 SEE ALSO
-
-F<include/parrot/register.h> and F<src/stacks.c>.
-
-=cut
-
-*/
-
-
-/*
- * Local variables:
- *   c-file-style: "parrot"
- * End:
- * vim: expandtab shiftwidth=4:
- */


More information about the parrot-commits mailing list