Lines Matching refs:lit
492 FunctionLiteral* lit, bool is_toplevel) {
498 JSParameterCount(lit->parameter_count()));
499 shared_info->SetFunctionTokenPosition(lit->function_token_position(),
500 lit->start_position());
501 shared_info->set_syntax_kind(lit->syntax_kind());
502 shared_info->set_allows_lazy_compilation(lit->AllowsLazyCompilation());
503 shared_info->set_language_mode(lit->language_mode());
504 shared_info->set_function_literal_id(lit->function_literal_id());
506 DCHECK(lit->kind() == shared_info->kind());
507 DCHECK_IMPLIES(lit->requires_instance_members_initializer(),
508 IsClassConstructor(lit->kind()));
510 lit->requires_instance_members_initializer());
511 DCHECK_IMPLIES(lit->class_scope_has_private_brand(),
512 IsClassConstructor(lit->kind()));
514 lit->class_scope_has_private_brand());
515 DCHECK_IMPLIES(lit->has_static_private_methods_or_accessors(),
516 IsClassConstructor(lit->kind()));
518 lit->has_static_private_methods_or_accessors());
523 Scope* outer_scope = lit->scope()->GetOuterScopeWithContext();
527 lit->scope()->private_name_lookup_skips_outer_class());
531 shared_info->set_length(lit->function_length());
537 if (lit->ShouldEagerCompile()) {
538 shared_info->set_has_duplicate_parameters(lit->has_duplicate_parameters());
539 shared_info->UpdateAndFinalizeExpectedNofPropertiesFromEstimate(lit);
540 DCHECK_NULL(lit->produced_preparse_data());
547 shared_info->UpdateExpectedNofPropertiesFromEstimate(lit);
551 ProducedPreparseData* scope_data = lit->produced_preparse_data();
555 if (lit->should_parallel_compile()) {
557 lit->GetInferredName(isolate), lit->start_position(),
558 lit->end_position(), preparse_data);
561 lit->GetInferredName(isolate), lit->start_position(),
562 lit->end_position(), preparse_data);
565 if (lit->should_parallel_compile()) {
567 lit->GetInferredName(isolate), lit->start_position(),
568 lit->end_position());
571 lit->GetInferredName(isolate), lit->start_position(),
572 lit->end_position());
582 FunctionLiteral* lit, bool is_toplevel);
586 FunctionLiteral* lit, bool is_toplevel);