Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index dabc1f980050b1f77414e883c2011a6064fbe0d2..a548d7c821263bed6da813aa9981f005e3a37a68 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -13223,13 +13223,7 @@ void SharedFunctionInfo::InitFromFunctionLiteral( |
shared_info->set_language_mode(lit->language_mode()); |
shared_info->set_uses_arguments(lit->scope()->arguments() != NULL); |
shared_info->set_has_duplicate_parameters(lit->has_duplicate_parameters()); |
- shared_info->set_ast_node_count(lit->ast_node_count()); |
shared_info->set_is_function(lit->is_function()); |
- if (lit->dont_optimize_reason() != kNoReason) { |
- shared_info->DisableOptimization(lit->dont_optimize_reason()); |
- } |
- shared_info->set_dont_crankshaft(lit->flags() & |
- AstProperties::kDontCrankshaft); |
shared_info->set_never_compiled(true); |
shared_info->set_kind(lit->kind()); |
if (!IsConstructable(lit->kind(), lit->language_mode())) { |