Author: kjs
Date: Sat Dec 27 11:15:58 2008
New Revision: 34438
Modified:
trunk/compilers/pirc/new/bcgen.c
trunk/compilers/pirc/new/bcgen.h
trunk/compilers/pirc/new/piremit.c
Log:
[pirc] consting + small update in documentation.
Modified: trunk/compilers/pirc/new/bcgen.c
==============================================================================
--- trunk/compilers/pirc/new/bcgen.c (original)
+++ trunk/compilers/pirc/new/bcgen.c Sat Dec 27 11:15:58 2008
@@ -354,7 +354,7 @@
/*
=item C<void
-add_sub_pmc(bytecode * const bc, sub_info *info)>
+add_sub_pmc(bytecode * const bc, sub_info * const info)>
Add a sub PMC to the constant table. This function initializes the sub PMC.
@@ -362,7 +362,7 @@
*/
void
-add_sub_pmc(bytecode * const bc, sub_info *info) {
+add_sub_pmc(bytecode * const bc, sub_info * const info) {
PMC *sub_pmc;
Parrot_sub *sub;
int subconst_index;
Modified: trunk/compilers/pirc/new/bcgen.h
==============================================================================
--- trunk/compilers/pirc/new/bcgen.h (original)
+++ trunk/compilers/pirc/new/bcgen.h Sat Dec 27 11:15:58 2008
@@ -84,7 +84,7 @@
/* retrieves the index of s in the constant table */
-void add_sub_pmc(bytecode * const bc, sub_info *info);
+void add_sub_pmc(bytecode * const bc, sub_info * const info);
#endif /* PARROT_BCGEN_H_GUARD */
Modified: trunk/compilers/pirc/new/piremit.c
==============================================================================
--- trunk/compilers/pirc/new/piremit.c (original)
+++ trunk/compilers/pirc/new/piremit.c Sat Dec 27 11:15:58 2008
@@ -13,7 +13,7 @@
/*
-=head1 FUNCTIONS
+=head1 DESCRIPTION
This file contains emit functions. Depending on the requested output,
the appropriate emit functions are used. Options are:
@@ -21,6 +21,8 @@
-p for PASM output
-b for bytecode output
+=head1 FUNCTIONS
+
=over 4
=cut