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