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

plobsing at svn.parrot.org plobsing at svn.parrot.org
Sun Jun 6 01:16:26 UTC 2010


Author: plobsing
Date: Sun Jun  6 01:16:26 2010
New Revision: 47416
URL: https://trac.parrot.org/parrot/changeset/47416

Log:
C function docs for compilers/imcc/pcc.c

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

Modified: trunk/compilers/imcc/pcc.c
==============================================================================
--- trunk/compilers/imcc/pcc.c	Sun Jun  6 01:08:37 2010	(r47415)
+++ trunk/compilers/imcc/pcc.c	Sun Jun  6 01:16:26 2010	(r47416)
@@ -526,6 +526,9 @@
 =item C<static int pcc_reg_mov(PARROT_INTERP, unsigned char d, unsigned char s,
 void *vinfo)>
 
+Callback for C<Parrot_register_move>. Inserts move instructions in stead of
+actually moving the registers.
+
 =cut
 
 */
@@ -598,6 +601,8 @@
 =item C<static Instruction * move_regs(PARROT_INTERP, IMC_Unit *unit,
 Instruction *ins, size_t n, SymReg **dest, SymReg **src)>
 
+Insert instructions for moving C<n> registers from C<src> to C<dest>.
+
 =cut
 
 */
@@ -720,6 +725,9 @@
 =item C<static void insert_tail_call(PARROT_INTERP, IMC_Unit *unit, Instruction
 *ins, SymReg *sub, SymReg *meth)>
 
+Creates and inserts an appropriate tailcall instruction for either a sub call
+or a method call.
+
 =cut
 
 */

Modified: trunk/t/codingstd/c_function_docs.t
==============================================================================
--- trunk/t/codingstd/c_function_docs.t	Sun Jun  6 01:08:37 2010	(r47415)
+++ trunk/t/codingstd/c_function_docs.t	Sun Jun  6 01:16:26 2010	(r47416)
@@ -91,7 +91,6 @@
 }
 
 __DATA__
-compilers/imcc/pcc.c
 compilers/imcc/reg_alloc.c
 compilers/pirc/src/pircapi.c
 config/gen/platform/ansi/dl.c


More information about the parrot-commits mailing list