Home
last modified time | relevance | path

Searched refs:outer_scope (Results 1 – 17 of 17) sorted by relevance

/external/v8/src/ast/
Dscopes.cc140 Scope::Scope(Zone* zone, Scope* outer_scope, ScopeType scope_type) in Scope() argument
142 outer_scope_(outer_scope), in Scope()
147 set_language_mode(outer_scope->language_mode()); in Scope()
149 !is_function_scope() && outer_scope->has_forced_context_allocation(); in Scope()
174 DeclarationScope::DeclarationScope(Zone* zone, Scope* outer_scope, in DeclarationScope() argument
177 : Scope(zone, outer_scope, scope_type), in DeclarationScope()
380 Scope* outer_scope = nullptr; in DeserializeScopeChain() local
384 outer_scope = new (zone) Scope(zone, WITH_SCOPE, handle(scope_info)); in DeserializeScopeChain()
389 outer_scope->set_is_debug_evaluate_scope(); in DeserializeScopeChain()
401 outer_scope = in DeserializeScopeChain()
[all …]
Dscopes.h94 Scope(Zone* zone, Scope* outer_scope, ScopeType scope_type); in NON_EXPORTED_BASE()
147 void ReplaceOuterScope(Scope* outer_scope); in NON_EXPORTED_BASE()
240 for (Scope* scope = outer_scope(); scope != nullptr; in NON_EXPORTED_BASE()
241 scope = scope->outer_scope()) { in NON_EXPORTED_BASE()
358 Scope* outer_scope() const { return outer_scope_; } in NON_EXPORTED_BASE()
589 MaybeHandle<ScopeInfo> outer_scope); in NON_EXPORTED_BASE()
591 MaybeHandle<ScopeInfo> outer_scope); in NON_EXPORTED_BASE()
616 DeclarationScope(Zone* zone, Scope* outer_scope, ScopeType scope_type,
835 s = s->outer_scope()->GetClosureScope()) { in ForceEagerCompilation()
/external/v8/src/parsing/
Dparameter-initializer-rewriter.cc66 if (param_scope_->outer_scope()->RemoveUnresolved(proxy)) { in VisitVariableProxy()
106 DCHECK(param_scope->outer_scope()->is_function_scope()); in ReparentParameterExpressionScope()
Dpattern-rewriter.cc147 outer_function_scope = descriptor_->scope->outer_scope(); in VisitVariableProxy()
335 DCHECK(scope()->outer_scope()->is_function_scope()); in DeclaresParameterContainingSloppyEval()
Dparser.cc2012 catch_scope = catch_scope->outer_scope(); in DesugarBindingInForEachStatement()
3319 Scope* function_scope = inner_scope->outer_scope(); in InsertShadowingVarBindingInitializers()
3344 if (scope->is_eval_scope() && scope->outer_scope() == original_scope_) { in InsertSloppyBlockFunctionVarBindings()
5073 Scope* loop_scope = scope()->outer_scope(); in FinalizeForOfStatement()
Dparser-base.h4000 DCHECK_EQ(function_scope, inner_scope->outer_scope()); in ParseFunctionBody()
/external/v8/src/objects/
Dscope-info.h194 MaybeHandle<ScopeInfo> outer_scope);
196 Isolate* isolate, MaybeHandle<ScopeInfo> outer_scope);
Dscope-info.cc62 MaybeHandle<ScopeInfo> outer_scope) { in Create() argument
134 const bool has_outer_scope_info = !outer_scope.is_null(); in Create()
271 scope_info->set(index++, *outer_scope.ToHandleChecked()); in Create()
294 Isolate* isolate, MaybeHandle<ScopeInfo> outer_scope) { in CreateForWithScope() argument
295 const bool has_outer_scope_info = !outer_scope.is_null(); in CreateForWithScope()
326 scope_info->set(index++, *outer_scope.ToHandleChecked()); in CreateForWithScope()
/external/v8/src/
Dcompiler.cc422 Scope* outer_scope = info->scope()->GetOuterScopeWithContext(); in InstallSharedScopeInfo() local
423 if (outer_scope) { in InstallSharedScopeInfo()
424 shared->set_outer_scope_info(*outer_scope->scope_info()); in InstallSharedScopeInfo()
1847 Scope* outer_scope = literal->scope()->GetOuterScopeWithContext(); in GetSharedFunctionInfo() local
1848 if (outer_scope) { in GetSharedFunctionInfo()
1849 result->set_outer_scope_info(*outer_scope->scope_info()); in GetSharedFunctionInfo()
Djson-parser.cc37 HandleScope outer_scope(isolate_); in InternalizeJsonProperty() local
77 return outer_scope.CloseAndEscape(result); in InternalizeJsonProperty()
Dmessages.cc400 HandleScope outer_scope(isolate_); in GetMethodName() local
423 if (!result.is_null()) return outer_scope.CloseAndEscape(result); in GetMethodName()
Dd8.cc268 HandleScope outer_scope(isolate); in FillTraceConfig() local
1923 HandleScope outer_scope(isolate); in RunShell() local
/external/protobuf/src/google/protobuf/
Ddescriptor.cc4610 string outer_scope; in BuildEnumValue() local
4612 outer_scope = file_->package(); in BuildEnumValue()
4614 outer_scope = parent->containing_type()->full_name(); in BuildEnumValue()
4617 if (outer_scope.empty()) { in BuildEnumValue()
4618 outer_scope = "the global scope"; in BuildEnumValue()
4620 outer_scope = "\"" + outer_scope + "\""; in BuildEnumValue()
4628 + outer_scope + ", not just within \"" + parent->name() + "\"."); in BuildEnumValue()
/external/v8/src/asmjs/
Dasm-wasm-builder.cc171 info->zone(), decl->fun()->scope()->outer_scope(), FUNCTION_SCOPE); in VisitFunctionDeclaration()
174 decl->fun()->scope()->outer_scope()->RemoveInnerScope(new_func_scope); in VisitFunctionDeclaration()
/external/v8/src/crankshaft/
Dhydrogen.cc4235 Scope* outer_scope = scope(); in VisitBlock() local
4237 BreakAndContinueInfo break_info(stmt, outer_scope); in VisitBlock()
4269 set_scope(outer_scope); in VisitBlock()
4401 Scope* outer_scope = NULL; in VisitContinueStatement() local
4406 &outer_scope, &drop_extra); in VisitContinueStatement()
4409 int context_pop_count = inner_scope->ContextChainLength(outer_scope); in VisitContinueStatement()
4434 Scope* outer_scope = NULL; in VisitBreakStatement() local
4439 &outer_scope, &drop_extra); in VisitBreakStatement()
4442 int context_pop_count = inner_scope->ContextChainLength(outer_scope); in VisitBreakStatement()
/external/v8/src/debug/
Dliveedit.cc1648 current_scope = current_scope->outer_scope(); in SerializeFunctionScope()
/external/v8/src/interpreter/
Dbytecode-generator.cc3167 DCHECK(scope->outer_scope()->is_script_scope()); in BuildNewLocalActivationContext()