/external/v8/src/ast/ |
D | scopes.h | 785 Scope(Zone* zone, Scope* inner_scope, ScopeType type, 789 Scope(Zone* zone, Scope* inner_scope, const AstRawString* catch_variable_name, 792 void AddInnerScope(Scope* inner_scope) { in AddInnerScope() argument 793 if (inner_scope != NULL) { in AddInnerScope() 794 inner_scopes_.Add(inner_scope, zone_); in AddInnerScope() 795 inner_scope->outer_scope_ = this; in AddInnerScope() 799 void RemoveInnerScope(Scope* inner_scope) { in RemoveInnerScope() argument 800 DCHECK_NOT_NULL(inner_scope); in RemoveInnerScope() 802 if (inner_scopes_[i] == inner_scope) { in RemoveInnerScope()
|
D | scopes.cc | 105 Scope::Scope(Zone* zone, Scope* inner_scope, ScopeType scope_type, in Scope() argument 125 AddInnerScope(inner_scope); in Scope() 128 Scope::Scope(Zone* zone, Scope* inner_scope, in Scope() argument 143 AddInnerScope(inner_scope); in Scope()
|
/external/v8/src/debug/ |
D | debug-scopes.cc | 560 Handle<JSObject> inner_scope = in MaterializeInnerScope() local 566 frame_inspector_->MaterializeStackLocals(inner_scope, scope_info); in MaterializeInnerScope() 574 CopyContextLocalsToScopeObject(CurrentScopeInfo(), context, inner_scope); in MaterializeInnerScope() 575 CopyContextExtensionToScopeObject(context, inner_scope, in MaterializeInnerScope() 578 return inner_scope; in MaterializeInnerScope() 805 Scope* inner_scope = scope->inner_scopes()->at(i); in GetNestedScopeChain() local 806 int beg_pos = inner_scope->start_position(); in GetNestedScopeChain() 807 int end_pos = inner_scope->end_position(); in GetNestedScopeChain() 808 DCHECK((beg_pos >= 0 && end_pos >= 0) || inner_scope->is_hidden()); in GetNestedScopeChain() 810 GetNestedScopeChain(isolate, inner_scope, position); in GetNestedScopeChain()
|
/external/v8/test/unittests/compiler/ |
D | zone-pool-unittest.cc | 137 ZonePool::Scope inner_scope(zone_pool()); in TEST_F() local 139 size_t bytes = Allocate(inner_scope.zone()); in TEST_F()
|
/external/v8/test/cctest/heap/ |
D | test-heap.cc | 456 HandleScope inner_scope(isolate); in TEST() local 482 HandleScope inner_scope(isolate); in TEST() local 2424 v8::HandleScope inner_scope(isolate); in TEST() local 2473 v8::HandleScope inner_scope(isolate); in TEST() local 2520 v8::HandleScope inner_scope(isolate); in TEST() local 2567 v8::HandleScope inner_scope(isolate); in TEST() local 3984 HandleScope inner_scope(isolate); in TEST() local 4012 code = inner_scope.CloseAndEscape(Handle<Code>(f->code())); in TEST() 4041 HandleScope inner_scope(isolate); in TEST() local 4089 HandleScope inner_scope(isolate); in TEST() local [all …]
|
/external/v8/src/parsing/ |
D | parser.cc | 3301 Scope* inner_scope, VariableMode mode, ZoneList<const AstRawString*>* names, in DesugarLexicalBindingsInForStatement() argument 3399 BlockState block_state(&scope_, inner_scope); in DesugarLexicalBindingsInForStatement() 3540 inner_scope->set_end_position(scanner()->location().end_pos); in DesugarLexicalBindingsInForStatement() 3541 inner_block->set_scope(inner_scope); in DesugarLexicalBindingsInForStatement() 3843 Scope* inner_scope = scope_; in ParseForStatement() local 3845 inner_scope = NewScope(for_scope, BLOCK_SCOPE); in ParseForStatement() 3846 inner_scope->set_start_position(scanner()->location().beg_pos); in ParseForStatement() 3849 BlockState block_state(&scope_, inner_scope); in ParseForStatement() 3869 inner_scope, parsing_result.descriptor.mode, &lexical_bindings, loop, in ParseForStatement() 4720 Scope* inner_scope = scope_; in ParseEagerFunctionBody() local [all …]
|
D | preparser.h | 1246 Scope* inner_scope = scope_; in ParseEagerFunctionBody() local 1247 if (!parameters.is_simple) inner_scope = NewScope(scope_, BLOCK_SCOPE); in ParseEagerFunctionBody() 1250 BlockState block_state(&scope_, inner_scope); in ParseEagerFunctionBody()
|
D | preparser.cc | 963 Scope* inner_scope = scope_; in ParseForStatement() local 964 if (has_lexical) inner_scope = NewScope(for_scope, BLOCK_SCOPE); in ParseForStatement() 967 BlockState block_state(&scope_, inner_scope); in ParseForStatement()
|
D | parser.h | 974 Scope* inner_scope, VariableMode mode,
|
/external/v8/src/ |
D | messages.cc | 291 HandleScope inner_scope(isolate_); in GetMethodName() local 299 result = inner_scope.CloseAndEscape(name_key); in GetMethodName()
|
D | json-parser.cc | 52 HandleScope inner_scope(isolate_); in InternalizeJsonProperty() local 66 HandleScope inner_scope(isolate_); in InternalizeJsonProperty() local
|
D | factory.cc | 1656 HandleScope inner_scope(isolate()); in NewJSArrayStorage() local
|
D | d8.cc | 1486 HandleScope inner_scope(isolate); in RunShell() local
|
/external/v8/test/cctest/ |
D | test-parsing.cc | 1401 i::Scope* inner_scope = scope->inner_scopes()->at(0); in TEST() local 1402 CHECK_EQ(inner_scope->scope_type(), source_data[i].scope_type); in TEST() 1403 CHECK_EQ(inner_scope->start_position(), kPrefixLen); in TEST() 1406 CHECK_EQ(inner_scope->end_position(), kPrefixLen + kInnerLen); in TEST() 1446 i::Scope* inner_scope = inner->scope(); in TEST() local 1448 if (inner_scope->declarations()->length() > 1) { in TEST() 1449 fun = inner_scope->declarations()->at(1)->AsFunctionDeclaration()->fun(); in TEST() 3537 i::Scope* inner_scope = scope->inner_scopes()->at(0); in TEST() local 3540 i::Variable* var = inner_scope->Lookup(var_name); in TEST()
|
D | test-strings.cc | 652 HandleScope inner_scope(isolate); in TestStringCharacterStream() local
|
D | test-api.cc | 8162 v8::HandleScope inner_scope(CcTest::isolate()); in THREADED_TEST() local 22819 v8::EscapableHandleScope inner_scope(CcTest::isolate()); in TEST() local 22822 values[i] = inner_scope.Escape(value); in TEST()
|
/external/v8/src/crankshaft/ |
D | hydrogen.cc | 5024 Scope* inner_scope = scope(); in VisitContinueStatement() local 5031 int context_pop_count = inner_scope->ContextChainLength(outer_scope); in VisitContinueStatement() 5057 Scope* inner_scope = scope(); in VisitBreakStatement() local 5064 int context_pop_count = inner_scope->ContextChainLength(outer_scope); in VisitBreakStatement()
|