Index: src/x64/deoptimizer-x64.cc |
diff --git a/src/x64/deoptimizer-x64.cc b/src/x64/deoptimizer-x64.cc |
index bec158b5b2bc454959c3eec168df7dd40a2b305a..36280ec8b4d516758f44a7a96e16af00fe6ecf14 100644 |
--- a/src/x64/deoptimizer-x64.cc |
+++ b/src/x64/deoptimizer-x64.cc |
@@ -57,7 +57,7 @@ void Deoptimizer::DeoptimizeFunctionWithPreparedFunctionList( |
// The optimized code is going to be patched, so we cannot use it |
// any more. Play safe and reset the whole cache. |
- function->shared()->ClearOptimizedCodeMap(); |
+ function->shared()->ClearOptimizedCodeMap("deoptimized function"); |
// Get the optimized code. |
Code* code = function->code(); |