Searched refs:kVar (Results 1 – 11 of 11) sorted by relevance
/external/v8/src/ast/ |
D | scopes.cc | 79 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 …]
|
D | variables.h | 39 DCHECK(!(mode == VariableMode::kVar && in scope_() 180 return mode == VariableMode::kVar ? kCreatedInitialized in DefaultInitializationFlag()
|
D | variables.cc | 29 return (IsDynamicVariableMode(mode()) || mode() == VariableMode::kVar) && in IsGlobalObjectProperty()
|
/external/v8/src/ |
D | globals.h | 958 kVar, // declared via 'var', and 'function' declarations enumerator 981 case VariableMode::kVar: in VariableMode2String() 1014 return mode <= VariableMode::kVar; in IsDeclaredVariableMode()
|
D | contexts.cc | 187 *variable_mode = VariableMode::kVar; in Lookup()
|
/external/v8/src/parsing/ |
D | pattern-rewriter.cc | 198 if (descriptor_->mode == VariableMode::kVar && in VisitVariableProxy() 265 if (descriptor_->mode == VariableMode::kVar) { in VisitVariableProxy()
|
D | parser.cc | 574 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()
|
D | preparser.h | 1430 for_info->parsing_result.descriptor.mode == VariableMode::kVar; 1718 VariableMode::kVar);
|
D | parser.h | 937 is_simple ? VariableMode::kVar : VariableMode::kTemporary,
|
D | parser-base.h | 3888 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/ |
D | bytecode-generator.cc | 1214 DCHECK_EQ(VariableMode::kVar, variable->mode()); in VisitVariableDeclaration() 1238 variable->mode() == VariableMode::kVar); in VisitFunctionDeclaration()
|