Index: runtime/vm/object.h |
diff --git a/runtime/vm/object.h b/runtime/vm/object.h |
index 816a79889cb1d0e1b5987e97cadfc7783369d37a..72143664e685a9348057f8159fa07dfb76c5147d 100644 |
--- a/runtime/vm/object.h |
+++ b/runtime/vm/object.h |
@@ -2991,6 +2991,7 @@ class Function : public Object { |
// RawFunction::VisitFunctionPointers accesses the private constructor of |
// Function. |
friend class RawFunction; |
+ friend class ClassFinalizer; // To reset parent_function. |
}; |