[svn:parrot] r39435 - trunk/compilers/imcc

NotFound at svn.parrot.org NotFound at svn.parrot.org
Sat Jun 6 19:41:21 UTC 2009


Author: NotFound
Date: Sat Jun  6 19:41:20 2009
New Revision: 39435
URL: https://trac.parrot.org/parrot/changeset/39435

Log:
[cage] add an assertion

Modified:
   trunk/compilers/imcc/parser_util.c

Modified: trunk/compilers/imcc/parser_util.c
==============================================================================
--- trunk/compilers/imcc/parser_util.c	Sat Jun  6 15:41:26 2009	(r39434)
+++ trunk/compilers/imcc/parser_util.c	Sat Jun  6 19:41:20 2009	(r39435)
@@ -330,6 +330,8 @@
     /* in constant */
     int dirs       = 1;
 
+    PARROT_ASSERT(r[0]);
+
     r[0]           = mk_const(interp, r[0]->name, 'P');
     r[0]->pmc_type = enum_class_FixedIntegerArray;
 


More information about the parrot-commits mailing list