[svn:parrot] r43066 - branches/context_unify3/src/call

chromatic at svn.parrot.org chromatic at svn.parrot.org
Tue Dec 15 10:44:54 UTC 2009


Author: chromatic
Date: Tue Dec 15 10:44:54 2009
New Revision: 43066
URL: https://trac.parrot.org/parrot/changeset/43066

Log:
[PCC] Fixed a C90 violation; no functional changes.

Modified:
   branches/context_unify3/src/call/context.c

Modified: branches/context_unify3/src/call/context.c
==============================================================================
--- branches/context_unify3/src/call/context.c	Tue Dec 15 10:44:50 2009	(r43065)
+++ branches/context_unify3/src/call/context.c	Tue Dec 15 10:44:54 2009	(r43066)
@@ -301,13 +301,13 @@
     ASSERT_ARGS(init_context)
     Parrot_Context *ctx    = get_context_struct_fast(interp, pmcctx);
 
-    PARROT_ASSERT(!PMC_IS_NULL(pmcctx) || !"Can't initialise Null CallContext");
-
     /* pmcold may be null */
     Parrot_Context *old    = PMC_IS_NULL(pmcold)
                            ? NULL
                            : get_context_struct_fast(interp, pmcold);
 
+    PARROT_ASSERT(!PMC_IS_NULL(pmcctx) || !"Can't initialise Null CallContext");
+
     ctx->current_results   = NULL;
     ctx->results_signature = NULL;
     ctx->lex_pad           = PMCNULL;


More information about the parrot-commits mailing list