[svn:parrot] r47618 - branches/dynop_mapping/compilers/imcc

plobsing at svn.parrot.org plobsing at svn.parrot.org
Mon Jun 14 07:09:03 UTC 2010


Author: plobsing
Date: Mon Jun 14 07:09:03 2010
New Revision: 47618
URL: https://trac.parrot.org/parrot/changeset/47618

Log:
reset NULL cur_unit at end of compilation. avoids other compilations trying to use the invalidated unit.

Modified:
   branches/dynop_mapping/compilers/imcc/imc.c

Modified: branches/dynop_mapping/compilers/imcc/imc.c
==============================================================================
--- branches/dynop_mapping/compilers/imcc/imc.c	Mon Jun 14 06:01:38 2010	(r47617)
+++ branches/dynop_mapping/compilers/imcc/imc.c	Mon Jun 14 07:09:03 2010	(r47618)
@@ -97,6 +97,7 @@
     }
 
     IMCC_INFO(interp)->imc_units = NULL;
+    IMCC_INFO(interp)->cur_unit  = NULL;
     IMCC_INFO(interp)->last_unit = NULL;
 }
 


More information about the parrot-commits mailing list