[svn:parrot] r47418 - in trunk: compilers/imcc t/codingstd

plobsing at svn.parrot.org plobsing at svn.parrot.org
Sun Jun 6 03:42:18 UTC 2010


Author: plobsing
Date: Sun Jun  6 03:42:16 2010
New Revision: 47418
URL: https://trac.parrot.org/parrot/changeset/47418

Log:
C function definitions for compilers/imcc/reg_alloc.c

Modified:
   trunk/compilers/imcc/reg_alloc.c
   trunk/t/codingstd/c_function_docs.t

Modified: trunk/compilers/imcc/reg_alloc.c
==============================================================================
--- trunk/compilers/imcc/reg_alloc.c	Sun Jun  6 01:53:04 2010	(r47417)
+++ trunk/compilers/imcc/reg_alloc.c	Sun Jun  6 03:42:16 2010	(r47418)
@@ -229,6 +229,8 @@
 
 =item C<void free_reglist(IMC_Unit *unit)>
 
+Frees the register list associated with a compilation unit.
+
 =cut
 
 */
@@ -405,6 +407,8 @@
 
 =item C<static void sort_reglist(IMC_Unit *unit)>
 
+Sort a compilation unit's register list (by line number of first appearance).
+
 =cut
 
 */
@@ -529,6 +533,8 @@
 
 =item C<static void compute_one_du_chain(SymReg *r, IMC_Unit *unit)>
 
+Compute the DU-chain for one register within the compilation unit.
+
 =cut
 
 */
@@ -691,6 +697,9 @@
 
 =item C<static void vanilla_reg_alloc(PARROT_INTERP, IMC_Unit *unit)>
 
+Vanilla register allocator - assign every virtual register to an actual
+register.
+
 =cut
 
 */
@@ -745,6 +754,9 @@
 
 =item C<static void allocate_lexicals(PARROT_INTERP, IMC_Unit *unit)>
 
+Allocate registers for lexical variables. These must have unique registers
+because they are accessible through the LexPad.
+
 =cut
 
 */

Modified: trunk/t/codingstd/c_function_docs.t
==============================================================================
--- trunk/t/codingstd/c_function_docs.t	Sun Jun  6 01:53:04 2010	(r47417)
+++ trunk/t/codingstd/c_function_docs.t	Sun Jun  6 03:42:16 2010	(r47418)
@@ -91,7 +91,6 @@
 }
 
 __DATA__
-compilers/imcc/reg_alloc.c
 compilers/pirc/src/pircapi.c
 config/gen/platform/ansi/dl.c
 config/gen/platform/ansi/exec.c


More information about the parrot-commits mailing list