| Index: src/heap.cc
|
| diff --git a/src/heap.cc b/src/heap.cc
|
| index 006a5263ea696ec845af5ae48f01f30707ee4c36..172405b72ccd767f35e300142119b11b6f9233cc 100644
|
| --- a/src/heap.cc
|
| +++ b/src/heap.cc
|
| @@ -3022,8 +3022,8 @@ MaybeObject* Heap::AllocateSharedFunctionInfo(Object* name) {
|
| 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_ic_age(0);
|
| + share->set_stress_deopt_counter(FLAG_deopt_every_n_times);
|
| + share->set_counters(0);
|
|
|
| // Set integer fields (smi or int, depending on the architecture).
|
| share->set_length(0);
|
|
|