summaryrefslogtreecommitdiff
path: root/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'alloc.c')
-rw-r--r--alloc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/alloc.c b/alloc.c
index b9e1b933..dbc8eabf 100644
--- a/alloc.c
+++ b/alloc.c
@@ -805,14 +805,14 @@ STATIC GC_bool GC_stopped_mark(GC_stop_func stop_func)
GC_cond_register_dynamic_libraries();
# endif
+# if !defined(GC_NO_FINALIZATION) && !defined(GC_TOGGLE_REFS_NOT_NEEDED)
+ GC_process_togglerefs();
+# endif
+
# ifndef NO_CLOCK
if (GC_PRINT_STATS_FLAG)
GET_TIME(start_time);
# endif
-
-# if !defined(GC_NO_FINALIZATION) && !defined(GC_TOGGLE_REFS_NOT_NEEDED)
- GC_process_togglerefs();
-# endif
# ifdef THREADS
if (GC_on_collection_event)
GC_on_collection_event(GC_EVENT_PRE_STOP_WORLD);