| Index: runtime/vm/raw_object.h
|
| diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h
|
| index 9976c936fa37ca79874cb846117ecbd5f30e5064..c8ff18d0568412ced6871138ffaacaac03db7967 100644
|
| --- a/runtime/vm/raw_object.h
|
| +++ b/runtime/vm/raw_object.h
|
| @@ -585,6 +585,7 @@ class RawObject {
|
| friend class ScavengerVisitor;
|
| friend class SizeExcludingClassVisitor; // GetClassId
|
| friend class RetainingPathVisitor; // GetClassId
|
| + friend class SkippedCodeFunctions; // StorePointer
|
| friend class SnapshotReader;
|
| friend class SnapshotWriter;
|
| friend class String;
|
| @@ -745,8 +746,8 @@ class RawFunction : public RawObject {
|
| };
|
|
|
| private:
|
| - // So that the MarkingVisitor::DetachCode can null out the code fields.
|
| - friend class MarkingVisitor;
|
| + // So that the SkippedCodeFunctions::DetachCode can null out the code fields.
|
| + friend class SkippedCodeFunctions;
|
| friend class Class;
|
| RAW_HEAP_OBJECT_IMPLEMENTATION(Function);
|
| static bool ShouldVisitCode(RawCode* raw_code);
|
| @@ -1025,6 +1026,7 @@ class RawCode : public RawObject {
|
|
|
| friend class Function;
|
| friend class MarkingVisitor;
|
| + friend class SkippedCodeFunctions;
|
| friend class StackFrame;
|
| };
|
|
|
| @@ -1076,6 +1078,7 @@ class RawInstructions : public RawObject {
|
| friend class Code;
|
| friend class StackFrame;
|
| friend class MarkingVisitor;
|
| + friend class SkippedCodeFunctions;
|
| friend class Function;
|
| };
|
|
|
|
|