Index: runtime/vm/gc_marker.cc |
diff --git a/runtime/vm/gc_marker.cc b/runtime/vm/gc_marker.cc |
index 234bf973476eb04b5b2b17c9dc278fa104761486..40ae97ac920b0454c99a8cc6b970d36aa63ac410 100644 |
--- a/runtime/vm/gc_marker.cc |
+++ b/runtime/vm/gc_marker.cc |
@@ -246,15 +246,15 @@ class MarkingVisitor : public ObjectPointerVisitor { |
intptr_t current_code_count = 0; |
for (int i = 0; i < skipped_code_functions_.length(); i++) { |
RawFunction* func = skipped_code_functions_[i]; |
- RawCode* code = func->ptr()->instructions_->ptr()->code_; |
+ RawCode* code = func->ptr()->code_; |
if (!code->IsMarked()) { |
// If the code wasn't strongly visited through other references |
// after skipping the function's code pointer, then we disconnect the |
// code from the function. |
StubCode* stub_code = isolate()->stub_code(); |
func->StorePointer( |
- &(func->ptr()->instructions_), |
- stub_code->LazyCompile_entry()->code()->ptr()->instructions_); |
+ &(func->ptr()->code_), |
+ stub_code->LazyCompile_entry()->code()); |
if (FLAG_log_code_drop) { |
// NOTE: This code runs while GC is in progress and runs within |
// a NoHandleScope block. Hence it is not okay to use a regular Zone |