Searched refs:declaration_scope (Results 1 – 5 of 5) sorted by relevance
1716 Scope* declaration_scope = DeclarationScope(mode); in Declare() local1729 if (declaration_scope->is_function_scope() || in Declare()1730 declaration_scope->is_strict_or_extended_eval_scope() || in Declare()1731 declaration_scope->is_block_scope() || in Declare()1732 declaration_scope->is_module_scope() || in Declare()1735 var = declaration_scope->LocalLookup(name); in Declare()1738 var = declaration_scope->DeclareLocal( in Declare()1775 declaration_scope->SetIllegalRedeclaration(expression); in Declare()1796 declaration_scope->AddDeclaration(declaration); in Declare()1799 declaration_scope->is_global_scope()) { in Declare()[all …]
4359 Scope* declaration_scope = scope()->DeclarationScope(); in PushFunctionArgumentForContextAllocation() local4360 if (declaration_scope->is_global_scope()) { in PushFunctionArgumentForContextAllocation()4366 } else if (declaration_scope->is_eval_scope()) { in PushFunctionArgumentForContextAllocation()4372 ASSERT(declaration_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()
4260 Scope* declaration_scope = scope()->DeclarationScope(); in PushFunctionArgumentForContextAllocation() local4261 if (declaration_scope->is_global_scope()) { in PushFunctionArgumentForContextAllocation()4267 } else if (declaration_scope->is_eval_scope()) { in PushFunctionArgumentForContextAllocation()4273 ASSERT(declaration_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()
4395 Scope* declaration_scope = scope()->DeclarationScope(); in PushFunctionArgumentForContextAllocation() local4396 if (declaration_scope->is_global_scope()) { in PushFunctionArgumentForContextAllocation()4402 } else if (declaration_scope->is_eval_scope()) { in PushFunctionArgumentForContextAllocation()4408 ASSERT(declaration_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()
4346 Scope* declaration_scope = scope()->DeclarationScope(); in PushFunctionArgumentForContextAllocation() local4347 if (declaration_scope->is_global_scope()) { in PushFunctionArgumentForContextAllocation()4353 } else if (declaration_scope->is_eval_scope()) { in PushFunctionArgumentForContextAllocation()4359 ASSERT(declaration_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()