Index: src/mips/deoptimizer-mips.cc |
diff --git a/src/mips/deoptimizer-mips.cc b/src/mips/deoptimizer-mips.cc |
index ecf408732834a297deb40f38e9bfc4232b4e8a43..7cc54445afc6ae0366e7916fba1dcb333ea6acb9 100644 |
--- a/src/mips/deoptimizer-mips.cc |
+++ b/src/mips/deoptimizer-mips.cc |
@@ -53,7 +53,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(); |