[svn:parrot] r39232 - in trunk/src: . runcore
NotFound at svn.parrot.org
NotFound at svn.parrot.org
Fri May 29 06:26:12 UTC 2009
Author: NotFound
Date: Fri May 29 06:26:11 2009
New Revision: 39232
URL: https://trac.parrot.org/parrot/changeset/39232
Log:
[cage] add ASSERT_ARGS to 2 functions that lacked it
Modified:
trunk/src/oo.c
trunk/src/runcore/trace.c
Modified: trunk/src/oo.c
==============================================================================
--- trunk/src/oo.c Fri May 29 06:03:41 2009 (r39231)
+++ trunk/src/oo.c Fri May 29 06:26:11 2009 (r39232)
@@ -385,6 +385,8 @@
static PMC *
get_pmc_proxy(PARROT_INTERP, ARGIN(STRING *name))
{
+ ASSERT_ARGS(get_pmc_proxy)
+
const INTVAL type = pmc_type(interp, name);
/* Check if not a PMC or invalid type number */
Modified: trunk/src/runcore/trace.c
==============================================================================
--- trunk/src/runcore/trace.c Fri May 29 06:03:41 2009 (r39231)
+++ trunk/src/runcore/trace.c Fri May 29 06:26:11 2009 (r39232)
@@ -55,6 +55,8 @@
PARROT_CANNOT_RETURN_NULL
Interp *
debugger_or_interp(PARROT_INTERP) {
+ ASSERT_ARGS(debugger_or_interp)
+
return interp->pdb && interp->pdb->debugger
? interp->pdb->debugger
: interp;
More information about the parrot-commits
mailing list