| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index 3b9d14831ad564f3dd665f1f369c85efb7e5472c..88fd5f8db2c44da37a5a39368a9129b1b3d9865b 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -8329,6 +8329,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.
|
|
|