| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 5062d34f5368b18050d12ec08227e388dde5a166..b3c06364d76888a8935234ec8b6e00e198255b48 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -13418,6 +13418,8 @@ void SetExpectedNofPropertiesFromEstimate(Handle<SharedFunctionInfo> shared,
|
|
|
| void SharedFunctionInfo::InitFromFunctionLiteral(
|
| Handle<SharedFunctionInfo> shared_info, FunctionLiteral* lit) {
|
| + // When adding fields here, make sure Scope::AnalyzePartially is updated
|
| + // accordingly.
|
| shared_info->set_length(lit->scope()->default_function_length());
|
| shared_info->set_internal_formal_parameter_count(lit->parameter_count());
|
| shared_info->set_function_token_position(lit->function_token_position());
|
|
|