Chromium Code Reviews| Index: src/arm/deoptimizer-arm.cc |
| =================================================================== |
| --- src/arm/deoptimizer-arm.cc (revision 10399) |
| +++ src/arm/deoptimizer-arm.cc (working copy) |
| @@ -100,6 +100,8 @@ |
| // Set the code for the function to non-optimized version. |
| function->ReplaceCode(function->shared()->code()); |
| + function->shared()->IncrementAndCheckDeoptCount(); |
| + |
| if (FLAG_trace_deopt) { |
| PrintF("[forced deoptimization: "); |
| function->PrintName(); |