[svn:parrot] r41074 - trunk/src/gc
NotFound at svn.parrot.org
NotFound at svn.parrot.org
Sun Sep 6 18:16:46 UTC 2009
Author: NotFound
Date: Sun Sep 6 18:16:43 2009
New Revision: 41074
URL: https://trac.parrot.org/parrot/changeset/41074
Log:
[cage] ASSERT_ARGS in Parrot_pcc_calculate_context_size
Modified:
trunk/src/gc/alloc_register.c
Modified: trunk/src/gc/alloc_register.c
==============================================================================
--- trunk/src/gc/alloc_register.c Sun Sep 6 17:42:06 2009 (r41073)
+++ trunk/src/gc/alloc_register.c Sun Sep 6 18:16:43 2009 (r41074)
@@ -307,6 +307,8 @@
size_t
Parrot_pcc_calculate_context_size(SHIM_INTERP, ARGIN(const UINTVAL *number_regs_used))
{
+ ASSERT_ARGS(Parrot_pcc_calculate_context_size)
+
return ALIGNED_CTX_SIZE + ROUND_ALLOC_SIZE(
sizeof (INTVAL) * number_regs_used[REGNO_INT] +
sizeof (FLOATVAL) * number_regs_used[REGNO_NUM] +
More information about the parrot-commits
mailing list