[svn:parrot] r45874 - trunk/src/call

chromatic at svn.parrot.org chromatic at svn.parrot.org
Wed Apr 21 23:28:56 UTC 2010


Author: chromatic
Date: Wed Apr 21 23:28:56 2010
New Revision: 45874
URL: https://trac.parrot.org/parrot/changeset/45874

Log:
[PCC] Changed STRING register initialization to use STRINGNULL from NULL.

Modified:
   trunk/src/call/context.c

Modified: trunk/src/call/context.c
==============================================================================
--- trunk/src/call/context.c	Wed Apr 21 23:28:53 2010	(r45873)
+++ trunk/src/call/context.c	Wed Apr 21 23:28:56 2010	(r45874)
@@ -269,7 +269,7 @@
     }
 
     for (i = 0; i < ctx->n_regs_used[REGNO_STR]; i++) {
-        ctx->bp_ps.regs_s[i] = NULL;
+        ctx->bp_ps.regs_s[i] = STRINGNULL;
     }
 
     if (Interp_debug_TEST(interp, PARROT_REG_DEBUG_FLAG)) {


More information about the parrot-commits mailing list