Index: runtime/vm/raw_object.h |
=================================================================== |
--- runtime/vm/raw_object.h (revision 44996) |
+++ runtime/vm/raw_object.h (working copy) |
@@ -721,7 +721,8 @@ |
friend class MarkingVisitor; |
friend class Class; |
RAW_HEAP_OBJECT_IMPLEMENTATION(Function); |
- static bool SkipCode(RawFunction* raw_fun); |
+ static bool ShouldVisitCode(RawCode* raw_code); |
+ static bool CheckUsageCounter(RawFunction* raw_fun); |
RawObject** from() { return reinterpret_cast<RawObject**>(&ptr()->name_); } |
RawString* name_; |
@@ -1012,6 +1013,7 @@ |
static bool ContainsPC(RawObject* raw_obj, uword pc); |
friend class RawCode; |
+ friend class RawFunction; |
friend class Code; |
friend class StackFrame; |
friend class MarkingVisitor; |