Home
last modified time | relevance | path

Searched refs:inner_scope (Results 1 – 18 of 18) sorted by relevance

/external/v8/src/parsing/
Dpreparser.cc138 DeclarationScope* inner_scope = function_scope; in PreParseFunction() local
142 inner_scope = NewVarblockScope(); in PreParseFunction()
143 inner_scope->set_start_position(scanner()->location().beg_pos); in PreParseFunction()
147 BlockState block_state(&scope_, inner_scope); in PreParseFunction()
155 if (is_sloppy(inner_scope->language_mode())) { in PreParseFunction()
156 inner_scope->HoistSloppyBlockFunctions(nullptr); in PreParseFunction()
159 SetLanguageMode(function_scope, inner_scope->language_mode()); in PreParseFunction()
160 inner_scope->set_end_position(scanner()->peek_location().end_pos); in PreParseFunction()
161 inner_scope->FinalizeBlockScope(); in PreParseFunction()
Dpreparsed-scope-data.cc22 for (Scope* inner = scope->inner_scope(); inner != nullptr; in HasVariablesWhichNeedAllocationData()
Dparser-base.h3962 DeclarationScope* inner_scope = function_scope; in ParseFunctionBody() local
3967 inner_scope = NewVarblockScope(); in ParseFunctionBody()
3968 inner_scope->set_start_position(scanner()->location().beg_pos); in ParseFunctionBody()
3970 inner_block->set_scope(inner_scope); in ParseFunctionBody()
3975 BlockState block_state(&scope_, inner_scope); in ParseFunctionBody()
3981 ParseAsyncFunctionBody(inner_scope, body, kind, FunctionBodyType::kNormal, in ParseFunctionBody()
3998 DCHECK_NOT_NULL(inner_scope); in ParseFunctionBody()
4000 DCHECK_EQ(function_scope, inner_scope->outer_scope()); in ParseFunctionBody()
4001 impl()->SetLanguageMode(function_scope, inner_scope->language_mode()); in ParseFunctionBody()
4005 if (is_sloppy(inner_scope->language_mode())) { in ParseFunctionBody()
[all …]
Dparser.cc2171 Statement* body, Scope* inner_scope, const ForInfo& for_info, bool* ok) { in DesugarLexicalBindingsInForStatement() argument
2265 BlockState block_state(&scope_, inner_scope); in DesugarLexicalBindingsInForStatement()
2401 inner_block->set_scope(inner_scope); in DesugarLexicalBindingsInForStatement()
3317 Scope* inner_scope = inner_block->scope(); in InsertShadowingVarBindingInitializers() local
3318 DCHECK(inner_scope->is_declaration_scope()); in InsertShadowingVarBindingInitializers()
3319 Scope* function_scope = inner_scope->outer_scope(); in InsertShadowingVarBindingInitializers()
3321 BlockState block_state(&scope_, inner_scope); in InsertShadowingVarBindingInitializers()
3322 for (Declaration* decl : *inner_scope->declarations()) { in InsertShadowingVarBindingInitializers()
Dpreparser.h1375 PreParserStatement body, Scope* inner_scope, const ForInfo& for_info,
1380 inner_scope->DeclareVariableName(
Dparser.h490 Statement* body, Scope* inner_scope, const ForInfo& for_info, bool* ok);
/external/v8/src/debug/
Ddebug-scopes.cc582 Handle<JSObject> inner_scope = in MaterializeInnerScope() local
588 frame_inspector_->MaterializeStackLocals(inner_scope, scope_info); in MaterializeInnerScope()
596 CopyContextLocalsToScopeObject(CurrentScopeInfo(), context, inner_scope); in MaterializeInnerScope()
597 CopyContextExtensionToScopeObject(context, inner_scope, in MaterializeInnerScope()
600 return inner_scope; in MaterializeInnerScope()
856 for (Scope* inner_scope = scope->inner_scope(); inner_scope != nullptr; in GetNestedScopeChain() local
857 inner_scope = inner_scope->sibling()) { in GetNestedScopeChain()
858 int beg_pos = inner_scope->start_position(); in GetNestedScopeChain()
859 int end_pos = inner_scope->end_position(); in GetNestedScopeChain()
860 DCHECK((beg_pos >= 0 && end_pos >= 0) || inner_scope->is_hidden()); in GetNestedScopeChain()
[all …]
/external/v8/src/ast/
Dscopes.h354 Scope* inner_scope() const { return inner_scope_; } in NON_EXPORTED_BASE()
450 bool RemoveInnerScope(Scope* inner_scope) { in NON_EXPORTED_BASE()
451 DCHECK_NOT_NULL(inner_scope); in NON_EXPORTED_BASE()
452 if (inner_scope == inner_scope_) { in NON_EXPORTED_BASE()
458 if (scope->sibling_ == inner_scope) { in NON_EXPORTED_BASE()
602 void AddInnerScope(Scope* inner_scope) { in NON_EXPORTED_BASE()
603 inner_scope->sibling_ = inner_scope_; in NON_EXPORTED_BASE()
604 inner_scope_ = inner_scope; in NON_EXPORTED_BASE()
605 inner_scope->outer_scope_ = this; in NON_EXPORTED_BASE()
Dscopes.cc818 Scope* inner_scope = new_parent->sibling_; in Reparent() local
819 if (inner_scope != top_inner_scope_) { in Reparent()
820 for (; inner_scope->sibling() != top_inner_scope_; in Reparent()
821 inner_scope = inner_scope->sibling()) { in Reparent()
822 inner_scope->outer_scope_ = new_parent; in Reparent()
823 DCHECK_NE(inner_scope, new_parent); in Reparent()
825 inner_scope->outer_scope_ = new_parent; in Reparent()
828 inner_scope->sibling_ = nullptr; in Reparent()
/external/tensorflow/tensorflow/contrib/rnn/python/ops/
Dcore_rnn_cell.py102 with vs.variable_scope(outer_scope) as inner_scope:
103 inner_scope.set_partitioner(None)
181 with vs.variable_scope(outer_scope) as inner_scope:
182 inner_scope.set_partitioner(None)
Drnn_cell.py2579 with vs.variable_scope(outer_scope) as inner_scope:
2580 inner_scope.set_partitioner(None)
2936 with vs.variable_scope(outer_scope) as inner_scope:
2937 inner_scope.set_partitioner(None)
/external/v8/src/
Djson-parser.cc52 HandleScope inner_scope(isolate_); in InternalizeJsonProperty() local
66 HandleScope inner_scope(isolate_); in InternalizeJsonProperty() local
Dmessages.cc411 HandleScope inner_scope(isolate_); in GetMethodName() local
419 result = inner_scope.CloseAndEscape(name_key); in GetMethodName()
Dd8.cc271 HandleScope inner_scope(isolate); in FillTraceConfig() local
1933 HandleScope inner_scope(isolate); in RunShell() local
Dfactory.cc1873 HandleScope inner_scope(isolate()); in NewJSArrayStorage() local
/external/v8/src/asmjs/
Dasm-wasm-builder.cc190 DCHECK_EQ(new_func_scope, decl->scope()->inner_scope()); in VisitFunctionDeclaration()
207 DCHECK_EQ(new_func_scope, decl->scope()->inner_scope()); in VisitFunctionDeclaration()
/external/v8/src/runtime/
Druntime-debug.cc1920 HandleScope inner_scope(isolate); in RUNTIME_FUNCTION() local
/external/v8/src/crankshaft/
Dhydrogen.cc4402 Scope* inner_scope = scope(); in VisitContinueStatement() local
4409 int context_pop_count = inner_scope->ContextChainLength(outer_scope); in VisitContinueStatement()
4435 Scope* inner_scope = scope(); in VisitBreakStatement() local
4442 int context_pop_count = inner_scope->ContextChainLength(outer_scope); in VisitBreakStatement()