Home
last modified time | relevance | path

Searched refs:kVar (Results 1 – 11 of 11) sorted by relevance

/external/v8/src/ast/
Dscopes.cc79 p->value = mode == VariableMode::kVar ? kDummyPreParserVariable in DeclareName()
300 Declare(zone, catch_variable_name, VariableMode::kVar, NORMAL_VARIABLE, in Scope()
451 DCHECK_EQ(scope_info->ContextLocalMode(0), VariableMode::kVar); in DeserializeScopeChain()
618 DeclareVariable(declaration, VariableMode::kVar, in HoistSloppyBlockFunctions()
619 Variable::DefaultInitializationFlag(VariableMode::kVar), in HoistSloppyBlockFunctions()
624 Variable* var = DeclareVariableName(name, VariableMode::kVar); in HoistSloppyBlockFunctions()
717 derived_constructor ? VariableMode::kConst : VariableMode::kVar, in DeclareThis()
733 VariableMode::kVar); in DeclareArguments()
932 local->mode() == VariableMode::kVar); in Reparent()
936 if (local->mode() == VariableMode::kVar) { in Reparent()
[all …]
Dvariables.h39 DCHECK(!(mode == VariableMode::kVar && in scope_()
180 return mode == VariableMode::kVar ? kCreatedInitialized in DefaultInitializationFlag()
Dvariables.cc29 return (IsDynamicVariableMode(mode()) || mode() == VariableMode::kVar) && in IsGlobalObjectProperty()
/external/v8/src/
Dglobals.h958 kVar, // declared via 'var', and 'function' declarations enumerator
981 case VariableMode::kVar: in VariableMode2String()
1014 return mode <= VariableMode::kVar; in IsDeclaredVariableMode()
Dcontexts.cc187 *variable_mode = VariableMode::kVar; in Lookup()
/external/v8/src/parsing/
Dpattern-rewriter.cc198 if (descriptor_->mode == VariableMode::kVar && in VisitVariableProxy()
265 if (descriptor_->mode == VariableMode::kVar) { in VisitVariableProxy()
Dparser.cc574 auto var = scope->DeclareParameter(name, VariableMode::kVar, is_optional, in DoParseProgram()
1358 if (mode == VariableMode::kVar && !scope()->is_declaration_scope()) { in DeclareVariable()
1461 Declaration* decl = DeclareVariable(name, VariableMode::kVar, pos, CHECK_OK); in DeclareNative()
1606 catch_info->scope->DeclareLocal(catch_info->name, VariableMode::kVar); in RewriteCatchPattern()
1927 for_info->parsing_result.descriptor.mode == VariableMode::kVar; in DesugarBindingInForEachStatement()
2935 VariableMode::kVar); in NewHiddenCatchScope()
3343 if (decl->proxy()->var()->mode() != VariableMode::kVar || in InsertShadowingVarBindingInitializers()
Dpreparser.h1430 for_info->parsing_result.descriptor.mode == VariableMode::kVar;
1718 VariableMode::kVar);
Dparser.h937 is_simple ? VariableMode::kVar : VariableMode::kTemporary,
Dparser-base.h3888 parsing_result->descriptor.mode = VariableMode::kVar; in ParseVariableDeclarations()
4092 : VariableMode::kVar; in ParseHoistableDeclaration()
5765 DCHECK_EQ(for_info.parsing_result.descriptor.mode, VariableMode::kVar); in ParseForStatement()
/external/v8/src/interpreter/
Dbytecode-generator.cc1214 DCHECK_EQ(VariableMode::kVar, variable->mode()); in VisitVariableDeclaration()
1238 variable->mode() == VariableMode::kVar); in VisitFunctionDeclaration()