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

mikehh at svn.parrot.org mikehh at svn.parrot.org
Tue Mar 30 09:58:56 UTC 2010


Author: mikehh
Date: Tue Mar 30 09:58:56 2010
New Revision: 45316
URL: https://trac.parrot.org/parrot/changeset/45316

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

Modified:
   trunk/src/pmc/nci.pmc

Modified: trunk/src/pmc/nci.pmc
==============================================================================
--- trunk/src/pmc/nci.pmc	Tue Mar 30 08:42:43 2010	(r45315)
+++ trunk/src/pmc/nci.pmc	Tue Mar 30 09:58:56 2010	(r45316)
@@ -54,6 +54,8 @@
 pcc_params(PARROT_INTERP, ARGIN(STRING *sig), ARGMOD(Parrot_NCI_attributes *nci_info),
                 size_t sig_length)
 {
+    ASSERT_ARGS(pcc_params)
+
     char    param_buf[8] = { 0, 0, 0, 0, 0, 0, 0, 0 };
     const int do_alloc = (sig_length > 7);
     char   *param_sig    = !do_alloc
@@ -136,6 +138,8 @@
 static nci_thunk_t
 build_func(PARROT_INTERP, ARGMOD(Parrot_NCI_attributes *nci_info))
 {
+    ASSERT_ARGS(build_func)
+
     STRING * const key      = nci_info->signature;
     const size_t key_length = Parrot_str_byte_length(interp, key);
 


More information about the parrot-commits mailing list