Home
last modified time | relevance | path

Searched refs:function_scope (Results 1 - 14 of 14) sorted by relevance

/third_party/node/deps/v8/src/parsing/
H A Dpreparser.cc108 FunctionSyntaxKind function_syntax_kind, DeclarationScope* function_scope, in PreParseFunction()
110 DCHECK_EQ(FUNCTION_SCOPE, function_scope->scope_type()); in PreParseFunction()
113 function_scope->set_is_being_lazily_parsed(true); in PreParseFunction()
116 PreParserFormalParameters formals(function_scope); in PreParseFunction()
123 // The caller passes the function_scope which is not yet inserted into the in PreParseFunction()
124 // scope stack. All scopes above the function_scope are ignored by the in PreParseFunction()
128 FunctionState function_state(&function_state_, &scope_, function_scope); in PreParseFunction()
135 formals.is_simple = function_scope->has_simple_parameters(); in PreParseFunction()
137 preparse_data_builder_scope.Start(function_scope); in PreParseFunction()
154 function_scope in PreParseFunction()
106 PreParseFunction( const AstRawString* function_name, FunctionKind kind, FunctionSyntaxKind function_syntax_kind, DeclarationScope* function_scope, int* use_counts, ProducedPreparseData** produced_preparse_data) PreParseFunction() argument
283 DeclarationScope* function_scope = NewFunctionScope(kind); ParseFunctionLiteral() local
[all...]
H A Dparser.cc47 DeclarationScope* function_scope = NewFunctionScope(kind); in DefaultConstructor() local
48 SetLanguageMode(function_scope, LanguageMode::kStrict); in DefaultConstructor()
50 function_scope->set_start_position(pos); in DefaultConstructor()
51 function_scope->set_end_position(pos); in DefaultConstructor()
55 FunctionState function_state(&function_state_, &scope_, function_scope); in DefaultConstructor()
62 Variable* constructor_args = function_scope->DeclareParameter( in DefaultConstructor()
84 name, function_scope, body, expected_property_count, parameter_count, in DefaultConstructor()
929 DeclarationScope* function_scope = result->scope(); in ParseFunction() local
933 function_scope->start_position(), in ParseFunction()
934 function_scope in ParseFunction()
2170 DeclareFunctionNameVar(const AstRawString* function_name, FunctionSyntaxKind function_syntax_kind, DeclarationScope* function_scope) DeclareFunctionNameVar() argument
2827 SkipFunction(const AstRawString* function_name, FunctionKind kind, FunctionSyntaxKind function_syntax_kind, DeclarationScope* function_scope, int* num_parameters, int* function_length, ProducedPreparseData** produced_preparse_data) SkipFunction() argument
3030 ParseFunction( ScopedPtrList<Statement>* body, const AstRawString* function_name, int pos, FunctionKind kind, FunctionSyntaxKind function_syntax_kind, DeclarationScope* function_scope, int* num_parameters, int* function_length, bool* has_duplicate_parameters, int* expected_property_count, int* suspend_count, ZonePtrList<const AstRawString>* arguments_for_wrapped_function) ParseFunction() argument
3323 Scope* function_scope = inner_scope->outer_scope(); InsertShadowingVarBindingInitializers() local
[all...]
H A Dpreparse-data.cc107 DeclarationScope* function_scope) { in Start()
113 function_scope->set_preparse_data_builder(builder_); in Start()
232 DeclarationScope* function_scope, int function_length, in SetSkippableFunction()
235 builder_->function_scope_ = function_scope; in SetSkippableFunction()
288 DeclarationScope* function_scope = builder->function_scope_; in SaveDataForSkippableFunction() local
292 byte_data_.WriteVarint32(function_scope->start_position()); in SaveDataForSkippableFunction()
293 byte_data_.WriteVarint32(function_scope->end_position()); in SaveDataForSkippableFunction()
297 function_scope->num_parameters() == builder->function_length_; in SaveDataForSkippableFunction()
301 NumberOfParametersField::encode(function_scope->num_parameters()); in SaveDataForSkippableFunction()
309 LanguageField::encode(function_scope in SaveDataForSkippableFunction()
106 Start( DeclarationScope* function_scope) Start() argument
231 SetSkippableFunction( DeclarationScope* function_scope, int function_length, int num_inner_functions) SetSkippableFunction() argument
[all...]
H A Dpreparser.h967 FunctionSyntaxKind function_syntax_kind, DeclarationScope* function_scope,
1009 DeclarationScope* function_scope, in SkipFunction()
1141 DeclarationScope* function_scope) { in DeclareFunctionNameVar()
1143 function_scope->LookupLocal(function_name) == nullptr) { in DeclareFunctionNameVar()
1144 DCHECK_EQ(function_scope, scope()); in DeclareFunctionNameVar()
1145 function_scope->DeclareFunctionVar(function_name); in DeclareFunctionNameVar()
1152 DeclarationScope* function_scope) { in DeclareFunctionNameVar()
1154 function_scope); in DeclareFunctionNameVar()
1253 DeclarationScope* function_scope = NewFunctionScope(kind); in RewriteClassLiteral() local
1254 SetLanguageMode(function_scope, LanguageMod in RewriteClassLiteral()
1007 SkipFunction(const AstRawString* name, FunctionKind kind, FunctionSyntaxKind function_syntax_kind, DeclarationScope* function_scope, int* num_parameters, int* function_length, ProducedPreparseData** produced_preparse_data) SkipFunction() argument
1139 DeclareFunctionNameVar(const AstRawString* function_name, FunctionSyntaxKind function_syntax_kind, DeclarationScope* function_scope) DeclareFunctionNameVar() argument
1149 DeclareFunctionNameVar( const PreParserIdentifier& function_name, FunctionSyntaxKind function_syntax_kind, DeclarationScope* function_scope) DeclareFunctionNameVar() argument
[all...]
H A Dpreparse-data.h119 void Start(DeclarationScope* function_scope);
120 void SetSkippableFunction(DeclarationScope* function_scope,
H A Dparser-base.h4314 DeclarationScope* function_scope = parameters.scope; in ParseFunctionBody() local
4315 DeclarationScope* inner_scope = function_scope; in ParseFunctionBody()
4384 DCHECK_EQ(inner_scope, function_scope); in ParseFunctionBody()
4385 if (is_sloppy(function_scope->language_mode())) { in ParseFunctionBody()
4386 impl()->InsertSloppyBlockFunctionVarBindings(function_scope); in ParseFunctionBody()
4389 is_sloppy(function_scope->language_mode()) && !IsConciseMethod(kind); in ParseFunctionBody()
4392 DCHECK_EQ(function_scope, scope()); in ParseFunctionBody()
4393 DCHECK_EQ(function_scope, inner_scope->outer_scope()); in ParseFunctionBody()
4394 impl()->SetLanguageMode(function_scope, inner_scope->language_mode()); in ParseFunctionBody()
4409 function_scope, VariableMod in ParseFunctionBody()
[all...]
H A Dparser.h325 DeclarationScope* function_scope);
448 DeclarationScope* function_scope, int* num_parameters,
460 DeclarationScope* function_scope, int* num_parameters,
/third_party/ltp/tools/sparse/sparse-src/
H A Dscope.c40 *function_scope = &builtin_scope, // labels, arguments etc variable
84 function_scope = scope; in start_file_scope()
97 function_scope = label_scope; in start_function_scope()
143 function_scope = label_scope; in end_function_scope()
178 if (inner == function_scope) in is_in_scope()
H A Dscope.h38 *function_scope,
H A Dexpression.c130 bind_symbol_with_scope(decl, ident, NS_SYMBOL, function_scope); in handle_func()
H A Dsymbol.c786 scope = function_scope; in bind_symbol()
/third_party/node/deps/v8/src/objects/
H A Dscope-info.cc204 DeclarationScope* function_scope = scope->AsDeclarationScope(); in Create() local
205 has_simple_parameters = function_scope->has_simple_parameters(); in Create()
207 is_asm_module = function_scope->is_asm_module(); in Create()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
H A DAttributor.h241 static const IRPosition function_scope(const IRPosition &IRP) { in function_scope() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
H A DAttributor.cpp1632 A.getAAFor<AANoFree>(*this, IRPosition::function_scope(IRP));
2398 *this, IRPosition::function_scope(getIRPosition()));
4971 const IRPosition &FnPos = IRPosition::function_scope(IRP); in updateImpl()

Completed in 47 milliseconds