Index: src/heap/objects-visiting.h |
diff --git a/src/heap/objects-visiting.h b/src/heap/objects-visiting.h |
index 0bfdeead417dbe7f6bb0d8ecc2aa9386fe0750ac..633c277eb065af6eab5bb15119d7ae5c6e4d8d01 100644 |
--- a/src/heap/objects-visiting.h |
+++ b/src/heap/objects-visiting.h |
@@ -386,8 +386,8 @@ class StaticMarkingVisitor : public StaticVisitorBase { |
// Helpers used by code flushing support that visit pointer fields and treat |
// references to code objects either strongly or weakly. |
- static void VisitSharedFunctionInfoStrongCode(Heap* heap, HeapObject* object); |
- static void VisitSharedFunctionInfoWeakCode(Heap* heap, HeapObject* object); |
+ static void VisitSharedFunctionInfoStrongCode(Map* map, HeapObject* object); |
+ static void VisitSharedFunctionInfoWeakCode(Map* map, HeapObject* object); |
static void VisitJSFunctionStrongCode(Map* map, HeapObject* object); |
static void VisitJSFunctionWeakCode(Map* map, HeapObject* object); |