Index: src/ia32/deoptimizer-ia32.cc |
diff --git a/src/ia32/deoptimizer-ia32.cc b/src/ia32/deoptimizer-ia32.cc |
index f8aff48d13070d89b1656f7db0231627d59551a0..6718b8f85c40dbc3485e30cc45ccdc61c22732d6 100644 |
--- a/src/ia32/deoptimizer-ia32.cc |
+++ b/src/ia32/deoptimizer-ia32.cc |
@@ -125,7 +125,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(); |