[svn:parrot] r47286 - branches/gc_massacre/src/interp

bacek at svn.parrot.org bacek at svn.parrot.org
Wed Jun 2 09:55:58 UTC 2010


Author: bacek
Date: Wed Jun  2 09:55:58 2010
New Revision: 47286
URL: https://trac.parrot.org/parrot/changeset/47286

Log:
Create interp.gc_registery early

Modified:
   branches/gc_massacre/src/interp/inter_create.c

Modified: branches/gc_massacre/src/interp/inter_create.c
==============================================================================
--- branches/gc_massacre/src/interp/inter_create.c	Wed Jun  2 07:49:24 2010	(r47285)
+++ branches/gc_massacre/src/interp/inter_create.c	Wed Jun  2 09:55:58 2010	(r47286)
@@ -217,6 +217,10 @@
     interp->HLL_info = NULL;
 
     Parrot_initialize_core_vtables(interp);
+
+    /* create the root set registry */
+    interp->gc_registry     = Parrot_pmc_new(interp, enum_class_AddrRegistry);
+
     init_world_once(interp);
 
     /* context data */
@@ -261,9 +265,6 @@
     interp->save_func_table = NULL;
     interp->code            = NULL;
 
-    /* create the root set registry */
-    interp->gc_registry     = Parrot_pmc_new(interp, enum_class_AddrRegistry);
-
     /* And a dynamic environment stack */
     /* TODO: We should really consider removing this (TT #876) */
     interp->dynamic_env = Parrot_pmc_new(interp, enum_class_ResizablePMCArray);


More information about the parrot-commits mailing list