[svn:parrot] r42243 - trunk/src/call

NotFound at svn.parrot.org NotFound at svn.parrot.org
Tue Nov 3 19:52:28 UTC 2009


Author: NotFound
Date: Tue Nov  3 19:52:27 2009
New Revision: 42243
URL: https://trac.parrot.org/parrot/changeset/42243

Log:
[cage] fix a INTVAL* / UINTVAL* mistake in registers size calculations

Modified:
   trunk/src/call/context.c

Modified: trunk/src/call/context.c
==============================================================================
--- trunk/src/call/context.c	Tue Nov  3 19:43:44 2009	(r42242)
+++ trunk/src/call/context.c	Tue Nov  3 19:52:27 2009	(r42243)
@@ -74,7 +74,7 @@
         __attribute__nonnull__(3);
 
 static size_t calculate_registers_size(SHIM_INTERP,
-    ARGIN(const INTVAL *number_regs_used))
+    ARGIN(const UINTVAL *number_regs_used))
         __attribute__nonnull__(2);
 
 static void clear_regs(PARROT_INTERP, ARGMOD(PMC *pmcctx))
@@ -97,7 +97,7 @@
         FUNC_MODIFIES(*pmcctx);
 
 static size_t Parrot_pcc_calculate_registers_size(PARROT_INTERP,
-    ARGIN(const INTVAL *number_regs_used))
+    ARGIN(const UINTVAL *number_regs_used))
         __attribute__nonnull__(1)
         __attribute__nonnull__(2);
 
@@ -399,7 +399,7 @@
 
 /*
 
-=item C<static size_t calculate_registers_size(PARROT_INTERP, const INTVAL
+=item C<static size_t calculate_registers_size(PARROT_INTERP, const UINTVAL
 *number_regs_used)>
 
 Calculate memory size required for registers.
@@ -408,7 +408,7 @@
 
 */
 static size_t
-calculate_registers_size(SHIM_INTERP, ARGIN(const INTVAL *number_regs_used))
+calculate_registers_size(SHIM_INTERP, ARGIN(const UINTVAL *number_regs_used))
 {
     ASSERT_ARGS(calculate_registers_size)
 
@@ -423,7 +423,7 @@
 /*
 
 =item C<static size_t Parrot_pcc_calculate_registers_size(PARROT_INTERP, const
-INTVAL *number_regs_used)>
+UINTVAL *number_regs_used)>
 
 Calculate size of Context.
 
@@ -432,7 +432,7 @@
 */
 
 static size_t
-Parrot_pcc_calculate_registers_size(PARROT_INTERP, ARGIN(const INTVAL *number_regs_used))
+Parrot_pcc_calculate_registers_size(PARROT_INTERP, ARGIN(const UINTVAL *number_regs_used))
 {
     ASSERT_ARGS(Parrot_pcc_calculate_registers_size)
     return calculate_registers_size(interp, number_regs_used);


More information about the parrot-commits mailing list