Index: src/heap/objects-visiting.h |
diff --git a/src/heap/objects-visiting.h b/src/heap/objects-visiting.h |
index 95cc80753a9daef391ec8d36211a13e81d751240..172ab953891822acadc2886f712a204c42bee89e 100644 |
--- a/src/heap/objects-visiting.h |
+++ b/src/heap/objects-visiting.h |
@@ -370,10 +370,6 @@ class StaticMarkingVisitor : public StaticVisitorBase { |
// Skip the weak next code link in a code object. |
INLINE(static void VisitNextCodeLink(Heap* heap, Object** slot)) {} |
- // Mark non-optimize code for functions inlined into the given optimized |
- // code. This will prevent it from being flushed. |
- static void MarkInlinedFunctionsCode(Heap* heap, Code* code); |
- |
protected: |
INLINE(static void VisitMap(Map* map, HeapObject* object)); |
INLINE(static void VisitCode(Map* map, HeapObject* object)); |
@@ -397,6 +393,10 @@ class StaticMarkingVisitor : public StaticVisitorBase { |
// references, possibly treating some entries weak. |
static void MarkOptimizedCodeMap(Heap* heap, FixedArray* code_map); |
+ // Mark non-optimized code for functions inlined into the given optimized |
+ // code. This will prevent it from being flushed. |
+ static void MarkInlinedFunctionsCode(Heap* heap, Code* code); |
+ |
// Code flushing support. |
INLINE(static bool IsFlushable(Heap* heap, JSFunction* function)); |
INLINE(static bool IsFlushable(Heap* heap, SharedFunctionInfo* shared_info)); |