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