| Index: src/heap.cc
|
| diff --git a/src/heap.cc b/src/heap.cc
|
| index 4feb70eb412d8558fc15c8f88116fa3c8f984df6..be553c5ce0ec9119d5cae2758fa092d0786fc80b 100644
|
| --- a/src/heap.cc
|
| +++ b/src/heap.cc
|
| @@ -1157,7 +1157,6 @@ void Heap::Scavenge() {
|
| promotion_queue_.Destroy();
|
|
|
| LiveObjectList::UpdateReferencesForScavengeGC();
|
| - isolate()->runtime_profiler()->UpdateSamplesAfterScavenge();
|
| incremental_marking()->UpdateMarkingDequeAfterScavenge();
|
|
|
| ASSERT(new_space_front == new_space_.top());
|
| @@ -3372,6 +3371,7 @@ void Heap::InitializeFunction(JSFunction* function,
|
| function->set_context(undefined_value());
|
| function->set_literals_or_bindings(empty_fixed_array());
|
| function->set_next_function_link(undefined_value());
|
| + function->set_profiler_ticks(0);
|
| }
|
|
|
|
|
|
|