| Index: src/runtime.cc
 | 
| diff --git a/src/runtime.cc b/src/runtime.cc
 | 
| index 163a868b0c877d72590eeea00de634fb211d1911..d97611852bb65187b2b142c404de6ac5ad7932ad 100644
 | 
| --- a/src/runtime.cc
 | 
| +++ b/src/runtime.cc
 | 
| @@ -8419,6 +8419,8 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_LazyRecompile) {
 | 
|    ASSERT(args.length() == 1);
 | 
|    Handle<JSFunction> function = args.at<JSFunction>(0);
 | 
|  
 | 
| +  function->shared()->set_profiler_ticks(0);
 | 
| +
 | 
|    // If the function is not compiled ignore the lazy
 | 
|    // recompilation. This can happen if the debugger is activated and
 | 
|    // the function is returned to the not compiled state.
 | 
| 
 |