| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 9b8b1a4d03446bc5de4c1ec1b1b2537493afa169..f59103aacf8a45c47c15addd574732e78e24f94b 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -654,6 +654,7 @@ bool Compiler::CompileLazy(CompilationInfo* info) {
|
| shared->set_code_age(0);
|
| shared->set_dont_crankshaft(lit->flags()->Contains(kDontOptimize));
|
| shared->set_dont_inline(lit->flags()->Contains(kDontInline));
|
| + shared->set_ast_node_count(lit->ast_node_count());
|
|
|
| if (info->AllowOptimize() && !shared->optimization_disabled()) {
|
| // If we're asked to always optimize, we compile the optimized
|
|
|