Index: src/objects-visiting.h |
diff --git a/src/objects-visiting.h b/src/objects-visiting.h |
index 50296a80031899a8b59113d1167edd479c7f12fa..3937e251c79db31461bf2f25c9b318a63fa1249b 100644 |
--- a/src/objects-visiting.h |
+++ b/src/objects-visiting.h |
@@ -396,9 +396,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); |
@@ -409,6 +406,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. |