Home
last modified time | relevance | path

Searched refs:FUNCTION_SCOPE (Results 1 – 16 of 16) sorted by relevance

/external/v8/src/parsing/
Dpreparsed-scope-data.cc326 if (scope->scope_type() == ScopeType::FUNCTION_SCOPE) { in ScopeNeedsData()
353 if (scope->scope_type() != ScopeType::FUNCTION_SCOPE) { in ScopeIsSkippableFunctionScope()
379 if (scope->scope_type() == ScopeType::FUNCTION_SCOPE) { in SaveDataForScope()
547 DCHECK_EQ(scope->scope_type(), ScopeType::FUNCTION_SCOPE); in RestoreScopeAllocationData()
600 if (scope->scope_type() == ScopeType::FUNCTION_SCOPE) { in RestoreData()
Dpreparser.cc124 DCHECK_EQ(FUNCTION_SCOPE, function_scope->scope_type()); in PreParseFunction()
Dparser-base.h644 DCHECK_NE(FUNCTION_SCOPE, scope_type); in NewScopeWithParent()
659 DeclarationScope(zone(), scope(), FUNCTION_SCOPE, kind);
/external/v8/src/objects/
Dscope-info.cc366 return CreateForBootstrapping(isolate, FUNCTION_SCOPE); in CreateForEmptyFunction()
373 DCHECK(type == SCRIPT_SCOPE || type == FUNCTION_SCOPE); in CreateForBootstrapping()
376 const bool is_empty_function = type == FUNCTION_SCOPE; in CreateForBootstrapping()
447 if (type == FUNCTION_SCOPE) { in CreateForBootstrapping()
491 (scope_type() == FUNCTION_SCOPE && CallsSloppyEval()) || in ContextLength()
492 (scope_type() == FUNCTION_SCOPE && IsAsmModule()) || in ContextLength()
535 return type == FUNCTION_SCOPE || type == SCRIPT_SCOPE || type == EVAL_SCOPE || in NeedsPositionInfo()
/external/v8/src/ast/
Dscopes.cc429 } else if (scope_info->scope_type() == FUNCTION_SCOPE) { in DeserializeScopeChain()
431 DeclarationScope(zone, FUNCTION_SCOPE, handle(scope_info, isolate)); in DeserializeScopeChain()
690 DCHECK_EQ(scope->scope_type_, ScopeType::FUNCTION_SCOPE); in Analyze()
1325 DCHECK_EQ(outer_scope()->scope_type(), FUNCTION_SCOPE); in CheckConflictingVarDeclarations()
1600 case FUNCTION_SCOPE: in Header()
Dscopes.h349 bool is_function_scope() const { return scope_type_ == FUNCTION_SCOPE; } in NON_EXPORTED_BASE()
/external/v8/src/builtins/
Dbuiltins.cc108 case ScopeType::FUNCTION_SCOPE: in NewFunctionContext()
Dbuiltins-constructor-gen.cc244 case FUNCTION_SCOPE: in EmitFastNewFunctionContext()
293 ScopeType::FUNCTION_SCOPE)); in TF_BUILTIN()
/external/v8/src/debug/
Ddebug-scopes.cc120 if (scope_info->scope_type() == FUNCTION_SCOPE) { in TryParseAndRetrieveScopes()
298 case FUNCTION_SCOPE: in Type()
/external/v8/src/
Dglobals.h897 FUNCTION_SCOPE, // The top-level scope for a function. enumerator
909 case ScopeType::FUNCTION_SCOPE:
/external/v8/src/compiler/
Djs-create-lowering.cc1244 case FUNCTION_SCOPE: in ReduceJSCreateFunctionContext()
Dbytecode-graph-builder.cc1503 javascript()->CreateFunctionContext(scope_info, slots, FUNCTION_SCOPE); in VisitCreateFunctionContext()
Djs-call-reducer.cc5618 FUNCTION_SCOPE), in ReducePromiseConstructor()
5935 FUNCTION_SCOPE), in ReducePromisePrototypeFinally()
/external/v8/src/interpreter/
Dinterpreter-generator.cc2571 scope_info, slots, context, FUNCTION_SCOPE)); in IGNITION_HANDLER()
Dbytecode-generator.cc4740 case FUNCTION_SCOPE: in BuildNewLocalActivationContext()
/external/v8/src/heap/
Dfactory.cc1411 case FUNCTION_SCOPE: in NewFunctionContext()