[svn:parrot] r40874 - branches/context_pmc3/src/gc
bacek at svn.parrot.org
bacek at svn.parrot.org
Sun Aug 30 13:01:16 UTC 2009
Author: bacek
Date: Sun Aug 30 13:01:14 2009
New Revision: 40874
URL: https://trac.parrot.org/parrot/changeset/40874
Log:
[cage] Add more docs.
Modified:
branches/context_pmc3/src/gc/alloc_register.c
Modified: branches/context_pmc3/src/gc/alloc_register.c
==============================================================================
--- branches/context_pmc3/src/gc/alloc_register.c Sun Aug 30 12:35:17 2009 (r40873)
+++ branches/context_pmc3/src/gc/alloc_register.c Sun Aug 30 13:01:14 2009 (r40874)
@@ -534,6 +534,16 @@
REG_NUM(interp, i) = 0.0;
}
+/*
+
+=item C<void Parrot_pcc_get_INTVAL_reg(PARROT_INTERP)>
+
+Get pointer to INTVAL register.
+
+=cut
+
+*/
+
PARROT_EXPORT
PARROT_CANNOT_RETURN_NULL
INTVAL *
@@ -543,6 +553,16 @@
return &(Parrot_pcc_get_context_struct(interp, ctx)->bp.regs_i[idx]);
}
+/*
+
+=item C<void Parrot_pcc_get_INTVAL_reg(PARROT_INTERP)>
+
+Get pointer to FLOATVAL register.
+
+=cut
+
+*/
+
PARROT_EXPORT
PARROT_CANNOT_RETURN_NULL
FLOATVAL *
@@ -552,6 +572,16 @@
return &(Parrot_pcc_get_context_struct(interp, ctx)->bp.regs_n[-1L - idx]);
}
+/*
+
+=item C<void Parrot_pcc_get_STRING_reg(PARROT_INTERP)>
+
+Get pointer to STRING register.
+
+=cut
+
+*/
+
PARROT_EXPORT
PARROT_CANNOT_RETURN_NULL
STRING **
@@ -561,6 +591,16 @@
return &(Parrot_pcc_get_context_struct(interp, ctx)->bp_ps.regs_s[idx]);
}
+/*
+
+=item C<void Parrot_pcc_get_PMC_reg(PARROT_INTERP)>
+
+Get pointer to PMC register.
+
+=cut
+
+*/
+
PARROT_EXPORT
PARROT_CANNOT_RETURN_NULL
PMC **
More information about the parrot-commits
mailing list