Home
last modified time | relevance | path

Searched refs:declaration_scope (Results 1 – 4 of 4) sorted by relevance

/external/v8/src/parsing/
Dpattern-rewriter.cc159 Scope* declaration_scope = IsLexicalVariableMode(descriptor_->mode) in VisitVariableProxy() local
162 if (declaration_scope->num_var_or_const() > kMaxNumFunctionLocals) { in VisitVariableProxy()
198 ? declaration_scope in VisitVariableProxy()
Dparser.cc1900 Scope* declaration_scope = in Declare() local
1912 if (declaration_scope->is_function_scope() || in Declare()
1913 declaration_scope->is_block_scope() || in Declare()
1914 declaration_scope->is_module_scope() || in Declare()
1915 declaration_scope->is_script_scope() || in Declare()
1916 (declaration_scope->is_eval_scope() && in Declare()
1917 (is_strict(declaration_scope->language_mode()) || in Declare()
1920 var = declaration_scope->LookupLocal(name); in Declare()
1933 var = declaration_scope->DeclareLocal( in Declare()
1942 !declaration_scope->is_script_scope())) { in Declare()
[all …]
Dparser.h960 bool* ok, Scope* declaration_scope = nullptr);
/external/v8/src/crankshaft/
Dhydrogen.cc4726 Scope* declaration_scope = scope->DeclarationScope(); in VisitBlock() local
4729 if (declaration_scope->is_script_scope() || in VisitBlock()
4730 declaration_scope->is_eval_scope()) { in VisitBlock()
12979 Scope* declaration_scope = scope->DeclarationScope(); in HEnvironment() local
12980 Initialize(declaration_scope->num_parameters() + 1, in HEnvironment()
12981 declaration_scope->num_stack_slots(), 0); in HEnvironment()