Index: src/objects-visiting.h |
diff --git a/src/objects-visiting.h b/src/objects-visiting.h |
index 26d1b121d2d7dd2440cef67ac0572a0c66eb8e49..e41a695a051ecc274845d2aabbbc7fc19ad971df 100644 |
--- a/src/objects-visiting.h |
+++ b/src/objects-visiting.h |
@@ -395,9 +395,6 @@ class StaticMarkingVisitor : public StaticVisitorBase { |
static inline void VisitRuntimeEntry(RelocInfo* rinfo) { } |
// TODO(mstarzinger): This should be made protected once refactoring is done. |
- static inline void VisitNativeContext(Map* map, HeapObject* object); |
- |
- // TODO(mstarzinger): This should be made protected once refactoring is done. |
// 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); |
@@ -408,6 +405,7 @@ class StaticMarkingVisitor : public StaticVisitorBase { |
static inline void VisitSharedFunctionInfo(Map* map, HeapObject* object); |
static inline void VisitJSFunction(Map* map, HeapObject* object); |
static inline void VisitJSRegExp(Map* map, HeapObject* object); |
+ static inline void VisitNativeContext(Map* map, HeapObject* object); |
// Mark pointers in a Map and its TransitionArray together, possibly |
// treating transitions or back pointers weak. |