Index: src/arm/deoptimizer-arm.cc |
diff --git a/src/arm/deoptimizer-arm.cc b/src/arm/deoptimizer-arm.cc |
index 001d3c830d4959a5f2612f568c8814148612592a..41379d53e92f0045d609e4ec8b00227870dd32e9 100644 |
--- a/src/arm/deoptimizer-arm.cc |
+++ b/src/arm/deoptimizer-arm.cc |
@@ -55,7 +55,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(); |