Index: src/heap/objects-visiting.h |
diff --git a/src/heap/objects-visiting.h b/src/heap/objects-visiting.h |
index e1d4d750623acba8c13e83425eb973a10abaf1bd..f0925a71c7fdeba2dce02d2c8629a4d227529d25 100644 |
--- a/src/heap/objects-visiting.h |
+++ b/src/heap/objects-visiting.h |
@@ -379,6 +379,10 @@ class StaticMarkingVisitor : public StaticVisitorBase { |
static void MarkMapContents(Heap* heap, Map* map); |
static void MarkTransitionArray(Heap* heap, TransitionArray* transitions); |
+ // Mark pointers in the optimized code map that should act as strong |
+ // 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); |