Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Unified Diff: runtime/vm/raw_object.h

Issue 1287463003: Refactor skipped code functions interface. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
};
« runtime/vm/gc_marker.cc ('K') | « runtime/vm/object.h ('k') | runtime/vm/raw_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698