Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 792a14296c4964fce21b15df2855055db6d0d6b8..50916cabd7c82df43bbf6a3874f945212e97b00c 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -8004,7 +8004,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_NotifyDeoptimized) { |
Deoptimizer::DeoptimizeFunction(*function); |
} |
// Flush optimized code cache for this function. |
- function->shared()->ClearOptimizedCodeMap(); |
+ function->shared()->ClearOptimizedCodeMap("notify deoptimized"); |
return isolate->heap()->undefined_value(); |
} |