Index: src/log.cc |
diff --git a/src/log.cc b/src/log.cc |
index 30ccc6c4d095891bb21df1718c577d866b214223..4ec981c631428d6e6d1bf410f2d6d6fa741825fe 100644 |
--- a/src/log.cc |
+++ b/src/log.cc |
@@ -1559,7 +1559,7 @@ static int EnumerateCompiledFunctions(Heap* heap, |
EnumerateOptimizedFunctionsVisitor visitor(sfis, |
code_objects, |
&compiled_funcs_count); |
- Deoptimizer::VisitAllOptimizedFunctions(&visitor); |
+ Deoptimizer::VisitAllOptimizedFunctions(heap->isolate(), &visitor); |
return compiled_funcs_count; |
} |