Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index ff978cf3b7f5f198165fcd01e5c82ca6b1ed3059..842a6ca80367de8004a61ba3f2b346fb155976a5 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -2848,6 +2848,7 @@ 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_deopt_counter(Smi::FromInt(FLAG_deopt_every_n_times)); |
+ share->set_ast_node_count(0); |
// Set integer fields (smi or int, depending on the architecture). |
share->set_length(0); |