| Index: src/heap.cc
|
| ===================================================================
|
| --- src/heap.cc (revision 10399)
|
| +++ src/heap.cc (working copy)
|
| @@ -2778,7 +2778,7 @@
|
| 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_deopt_counter(Smi::FromInt(FLAG_deopt_every_n_times));
|
| + share->set_stress_deopt_counter(Smi::FromInt(FLAG_deopt_every_n_times));
|
|
|
| // Set integer fields (smi or int, depending on the architecture).
|
| share->set_length(0);
|
| @@ -2791,7 +2791,7 @@
|
| // All compiler hints default to false or 0.
|
| share->set_compiler_hints(0);
|
| share->set_this_property_assignments_count(0);
|
| - share->set_opt_count(0);
|
| + share->set_deopt_count(0);
|
|
|
| return share;
|
| }
|
|
|