Home
last modified time | relevance | path

Searched refs:is_declaration_scope (Results 1 – 13 of 13) sorted by relevance

/external/v8/src/ast/
Dscopes.cc438 if (scope_info->is_declaration_scope()) { in DeserializeScopeChain()
478 DCHECK(is_declaration_scope()); in AsDeclarationScope()
483 DCHECK(is_declaration_scope()); in AsDeclarationScope()
498 return is_declaration_scope() ? AsDeclarationScope()->num_parameters() : 0; in num_parameters()
711 DCHECK(is_declaration_scope()); in DeclareThis()
816 (is_declaration_scope() && AsDeclarationScope()->calls_sloppy_eval())) { in FinalizeBlockScope()
853 DCHECK(!scope_calls_eval_ || !is_declaration_scope() || in FinalizeBlockScope()
1102 if (mode == VariableMode::kVar && !is_declaration_scope()) { in DeclareVariable()
1109 DCHECK(is_declaration_scope() || in DeclareVariable()
1217 if (mode == VariableMode::kVar && !is_declaration_scope()) { in DeclareVariableName()
[all …]
Dscopes.h355 bool is_declaration_scope() const { return is_declaration_scope_; } in NON_EXPORTED_BASE()
/external/v8/src/objects/
Dscope-info.cc91 if (scope->is_declaration_scope() && in Create()
107 scope->is_declaration_scope() && in Create()
164 if (scope->is_declaration_scope()) { in Create()
174 DeclarationScopeField::encode(scope->is_declaration_scope()) | in Create()
235 if (scope->is_declaration_scope()) { in Create()
469 DCHECK_IMPLIES(calls_sloppy_eval, is_declaration_scope()); in CallsSloppyEval()
478 bool ScopeInfo::is_declaration_scope() const { in is_declaration_scope() function in v8::internal::ScopeInfo
490 is_declaration_scope()) || in ContextLength()
Dscope-info.h47 bool is_declaration_scope() const;
/external/v8/src/parsing/
Dexpression-scope-reparenter.cc115 DCHECK(scope->is_declaration_scope()); in ReparentExpressionScope()
Dpreparsed-scope-data.cc374 scope->is_declaration_scope() && in SaveDataForScope()
570 if (scope->is_declaration_scope() && in RestoreData()
Dpattern-rewriter.cc199 !descriptor_->scope->is_declaration_scope()) { in VisitVariableProxy()
348 DCHECK(scope()->is_declaration_scope()); in DeclaresParameterContainingSloppyEval()
Dparser.cc1358 if (mode == VariableMode::kVar && !scope()->is_declaration_scope()) { in DeclareVariable()
1945 while (catch_scope != nullptr && !catch_scope->is_declaration_scope()) { in DesugarBindingInForEachStatement()
3338 DCHECK(inner_scope->is_declaration_scope()); in InsertShadowingVarBindingInitializers()
3625 DCHECK(scope()->is_declaration_scope()); in SetAsmModule()
Dparser-base.h4090 (!scope()->is_declaration_scope() || scope()->is_module_scope()) in ParseHoistableDeclaration()
4099 !scope()->is_declaration_scope() && in ParseHoistableDeclaration()
/external/v8/src/runtime/
Druntime-scopes.cc220 context->scope_info()->is_declaration_scope())); in DeclareEvalHelper()
296 context->scope_info()->is_declaration_scope()) || in DeclareEvalHelper()
/external/v8/src/
Dcontexts.cc70 return scope_info()->is_declaration_scope(); in is_declaration_context()
Dobjects-printer.cc2044 if (is_declaration_scope()) os << "\n - declaration scope"; in ScopeInfoPrint()
/external/v8/src/debug/
Ddebug-scopes.cc664 if (current_scope_->is_declaration_scope() && in VisitLocals()