[svn:parrot] r45350 - trunk/src/pmc

mikehh at svn.parrot.org mikehh at svn.parrot.org
Wed Mar 31 11:02:22 UTC 2010


Author: mikehh
Date: Wed Mar 31 11:02:21 2010
New Revision: 45350
URL: https://trac.parrot.org/parrot/changeset/45350

Log:
fix codetest failure - assert args - src/pmc/bigint.pmc

Modified:
   trunk/src/pmc/bigint.pmc

Modified: trunk/src/pmc/bigint.pmc
==============================================================================
--- trunk/src/pmc/bigint.pmc	Wed Mar 31 10:56:27 2010	(r45349)
+++ trunk/src/pmc/bigint.pmc	Wed Mar 31 11:02:21 2010	(r45350)
@@ -387,6 +387,8 @@
 static void
 bigint_init(PARROT_INTERP, ARGIN(PMC *self))
 {
+    ASSERT_ARGS(bigint_init)
+
     BIGINT * const bi = mem_gc_allocate_zeroed_typed(interp, BIGINT);
     SETATTR_BigInt_bi(interp, self, bi);
     mpz_init(bi->b);
@@ -486,6 +488,8 @@
 static int
 bigint_get_bool(PARROT_INTERP, ARGIN(PMC *self))
 {
+    ASSERT_ARGS(bigint_get_bool)
+
     BIGINT *bi;
     GETATTR_BigInt_bi(interp, self, bi);
     if (mpz_sgn(bi->b) != 0)
@@ -619,6 +623,8 @@
 static void
 bigint_check_divide_zero(PARROT_INTERP, ARGIN(PMC *value))
 {
+    ASSERT_ARGS(bigint_check_divide_zero)
+
     /* Throw an exception if we are dividing by zero. */
     BIGINT *bi;
     GETATTR_BigInt_bi(interp, value, bi);


More information about the parrot-commits mailing list