Index: runtime/vm/gc_marker.cc |
diff --git a/runtime/vm/gc_marker.cc b/runtime/vm/gc_marker.cc |
index 1638b3d363e03d73deef2065efc3dc0bceeef4ba..e9f33c380da5cdf4c57a110af8e603dea9327d1b 100644 |
--- a/runtime/vm/gc_marker.cc |
+++ b/runtime/vm/gc_marker.cc |
@@ -485,7 +485,7 @@ void GCMarker::Prologue(Isolate* isolate, bool invoke_api_callbacks) { |
if (invoke_api_callbacks && (isolate->gc_prologue_callback() != NULL)) { |
(isolate->gc_prologue_callback())(); |
} |
- isolate->thread_registry()->PrepareForGC(); |
+ isolate->PrepareForGC(); |
// The store buffers will be rebuilt as part of marking, reset them now. |
isolate->store_buffer()->Reset(); |
} |