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

mikehh at svn.parrot.org mikehh at svn.parrot.org
Sun Mar 28 14:09:18 UTC 2010


Author: mikehh
Date: Sun Mar 28 14:09:17 2010
New Revision: 45247
URL: https://trac.parrot.org/parrot/changeset/45247

Log:
fix codetest failure - unused assert macros - src/pmc/integer.pmc

Modified:
   trunk/src/pmc/integer.pmc

Modified: trunk/src/pmc/integer.pmc
==============================================================================
--- trunk/src/pmc/integer.pmc	Sun Mar 28 13:55:46 2010	(r45246)
+++ trunk/src/pmc/integer.pmc	Sun Mar 28 14:09:17 2010	(r45247)
@@ -46,6 +46,8 @@
 static void
 maybe_throw_overflow_error(PARROT_INTERP)
 {
+    ASSERT_ARGS(maybe_throw_overflow_error)
+
     /* check to see what the behavior is. If the interpreter is set
        to throw an exception on overflow. If so, throw the exception,
        otherwise, chill out it's no big deal. */
@@ -59,6 +61,8 @@
 static PMC*
 upgrade_self_to_bignum(PARROT_INTERP, ARGMOD(PMC *self))
 {
+    ASSERT_ARGS(upgrade_self_to_bignum)
+
     /* Do an in-place upgrade to a Bignum of SELF and return a pointer
        to it (which is probably redundant, but whatever). */
     const INTVAL a = VTABLE_get_integer(interp, self);


More information about the parrot-commits mailing list