Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 87af70dcedb1bd998ec0884c75200b554cdeb330..fce862b2579627425f2f17c208520df8fc2f27b0 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -13502,8 +13502,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. |
+ // When adding fields here, make sure DeclarationScope::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()); |