Index: src/objects-visiting.h |
diff --git a/src/objects-visiting.h b/src/objects-visiting.h |
index e41a695a051ecc274845d2aabbbc7fc19ad971df..26d1b121d2d7dd2440cef67ac0572a0c66eb8e49 100644 |
--- a/src/objects-visiting.h |
+++ b/src/objects-visiting.h |
@@ -395,6 +395,9 @@ 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); |
@@ -405,7 +408,6 @@ 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. |