| Index: src/heap.cc
|
| diff --git a/src/heap.cc b/src/heap.cc
|
| index a1cccf6f22ac4fa1bf9bdea95b7fc88facd99909..51a15eda4b522e1557a19fd6b55a6dfed10f781e 100644
|
| --- a/src/heap.cc
|
| +++ b/src/heap.cc
|
| @@ -2897,9 +2897,10 @@ MaybeObject* Heap::AllocateSharedFunctionInfo(Object* name) {
|
| share->set_inferred_name(empty_string(), SKIP_WRITE_BARRIER);
|
| share->set_initial_map(undefined_value(), SKIP_WRITE_BARRIER);
|
| share->set_this_property_assignments(undefined_value(), SKIP_WRITE_BARRIER);
|
| + share->set_ast_node_count(0);
|
| share->set_deopt_counter(FLAG_deopt_every_n_times);
|
| share->set_profiler_ticks(0);
|
| - share->set_ast_node_count(0);
|
| + share->set_ic_age(0);
|
|
|
| // Set integer fields (smi or int, depending on the architecture).
|
| share->set_length(0);
|
|
|