Chromium Code Reviews| Index: src/mips/deoptimizer-mips.cc |
| =================================================================== |
| --- src/mips/deoptimizer-mips.cc (revision 10399) |
| +++ src/mips/deoptimizer-mips.cc (working copy) |
| @@ -102,6 +102,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(); |