Home
last modified time | relevance | path

Searched refs:outer_scope (Results 1 – 25 of 25) sorted by relevance

/external/v8/src/ast/
Dscopes.cc85 Scope::Scope(Zone* zone, Scope* outer_scope, ScopeType scope_type, in Scope() argument
99 SetDefaults(scope_type, outer_scope, Handle<ScopeInfo>::null(), in Scope()
102 DCHECK(scope_type == SCRIPT_SCOPE || outer_scope != NULL); in Scope()
155 void Scope::SetDefaults(ScopeType scope_type, Scope* outer_scope, in SetDefaults() argument
158 outer_scope_ = outer_scope; in SetDefaults()
176 asm_function_ = outer_scope != NULL && outer_scope->asm_module_; in SetDefaults()
181 : (outer_scope != NULL ? outer_scope->language_mode_ : SLOPPY); in SetDefaults()
186 force_context_allocation_ = (outer_scope != NULL && !is_function_scope()) in SetDefaults()
187 ? outer_scope->has_forced_context_allocation() : false; in SetDefaults()
222 for (Scope* s = innermost_scope; s != NULL; s = s->outer_scope()) { in DeserializeScopeChain()
[all …]
Dscopes.h91 Scope(Zone* zone, Scope* outer_scope, ScopeType scope_type,
118 void ReplaceOuterScope(Scope* outer_scope);
488 Scope* outer_scope() const { return outer_scope_; } in outer_scope() function
809 void SetDefaults(ScopeType type, Scope* outer_scope,
/external/v8/test/unittests/compiler/
Dzone-pool-unittest.cc126 ZonePool::Scope outer_scope(zone_pool()); in TEST_F() local
130 size_t bytes = Allocate(outer_scope.zone()); in TEST_F()
/external/v8/src/parsing/
Dpattern-rewriter.cc407 if (scope()->outer_scope()->is_arrow_scope() && scope()->is_block_scope()) { in RewriteParameterScopes()
409 scope()->outer_scope()->outer_scope(), in RewriteParameterScopes()
413 scope()->outer_scope(), scope()); in RewriteParameterScopes()
Dparser.cc5097 Scope* function_scope = inner_scope->outer_scope(); in InsertShadowingVarBindingInitializers()
/external/v8/src/
Dmessages.cc280 HandleScope outer_scope(isolate_); in GetMethodName() local
303 if (!result.is_null()) return outer_scope.CloseAndEscape(result); in GetMethodName()
Djson-parser.cc37 HandleScope outer_scope(isolate_); in InternalizeJsonProperty() local
77 return outer_scope.CloseAndEscape(result); in InternalizeJsonProperty()
Dd8.cc1476 HandleScope outer_scope(isolate); in RunShell() local
/external/v8/test/cctest/heap/
Dtest-heap.cc137 HandleScope outer_scope(isolate); in TEST() local
2410 v8::HandleScope outer_scope(isolate); in TEST() local
2459 v8::HandleScope outer_scope(isolate); in TEST() local
2506 v8::HandleScope outer_scope(isolate); in TEST() local
2553 v8::HandleScope outer_scope(isolate); in TEST() local
2610 v8::HandleScope outer_scope(CcTest::isolate()); in TEST() local
2674 v8::HandleScope outer_scope(CcTest::isolate()); in TEST() local
2718 v8::HandleScope outer_scope(CcTest::isolate()); in TEST() local
4742 HandleScope outer_scope(heap->isolate()); in TEST() local
4787 HandleScope outer_scope(heap->isolate()); in TEST() local
[all …]
/external/protobuf/src/google/protobuf/
Ddescriptor.cc3991 string outer_scope; in BuildEnumValue() local
3993 outer_scope = file_->package(); in BuildEnumValue()
3995 outer_scope = parent->containing_type()->full_name(); in BuildEnumValue()
3998 if (outer_scope.empty()) { in BuildEnumValue()
3999 outer_scope = "the global scope"; in BuildEnumValue()
4001 outer_scope = "\"" + outer_scope + "\""; in BuildEnumValue()
4009 + outer_scope + ", not just within \"" + parent->name() + "\"."); in BuildEnumValue()
/external/v8/test/cctest/
Dtest-parsing.cc5885 i::Scope* outer_scope = module_scope->outer_scope(); in TEST() local
5886 CHECK(outer_scope->is_script_scope()); in TEST()
5887 CHECK_NULL(outer_scope->outer_scope()); in TEST()
Dtest-strings.cc648 HandleScope outer_scope(isolate); in TestStringCharacterStream() local
Dtest-api.cc22814 HandleScope outer_scope(CcTest::isolate()); in TEST() local
/external/v8/src/crankshaft/
Dhydrogen.cc4857 Scope* outer_scope = scope(); in VisitBlock() local
4859 BreakAndContinueInfo break_info(stmt, outer_scope); in VisitBlock()
4891 set_scope(outer_scope); in VisitBlock()
5023 Scope* outer_scope = NULL; in VisitContinueStatement() local
5028 &outer_scope, &drop_extra); in VisitContinueStatement()
5031 int context_pop_count = inner_scope->ContextChainLength(outer_scope); in VisitContinueStatement()
5056 Scope* outer_scope = NULL; in VisitBreakStatement() local
5061 &outer_scope, &drop_extra); in VisitBreakStatement()
5064 int context_pop_count = inner_scope->ContextChainLength(outer_scope); in VisitBreakStatement()
/external/v8/src/debug/
Dliveedit.cc2062 current_scope = current_scope->outer_scope(); in SerializeFunctionScope()
/external/v8/src/full-codegen/ia32/
Dfull-codegen-ia32.cc1132 s = s->outer_scope(); in EmitLoadGlobalCheckExtensions()
1168 for (Scope* s = scope(); s != var->scope(); s = s->outer_scope()) { in ContextSlotOperandCheckExtensions()
/external/v8/src/full-codegen/x87/
Dfull-codegen-x87.cc1124 s = s->outer_scope(); in EmitLoadGlobalCheckExtensions()
1160 for (Scope* s = scope(); s != var->scope(); s = s->outer_scope()) { in ContextSlotOperandCheckExtensions()
/external/v8/src/full-codegen/arm64/
Dfull-codegen-arm64.cc1197 s = s->outer_scope(); in EmitLoadGlobalCheckExtensions()
1230 for (Scope* s = scope(); s != var->scope(); s = s->outer_scope()) { in ContextSlotOperandCheckExtensions()
/external/v8/src/full-codegen/x64/
Dfull-codegen-x64.cc1161 s = s->outer_scope(); in EmitLoadGlobalCheckExtensions()
1198 for (Scope* s = scope(); s != var->scope(); s = s->outer_scope()) { in ContextSlotOperandCheckExtensions()
/external/v8/src/full-codegen/mips64/
Dfull-codegen-mips64.cc1204 s = s->outer_scope(); in EmitLoadGlobalCheckExtensions()
1239 for (Scope* s = scope(); s != var->scope(); s = s->outer_scope()) { in ContextSlotOperandCheckExtensions()
/external/v8/src/full-codegen/arm/
Dfull-codegen-arm.cc1209 s = s->outer_scope(); in EmitLoadGlobalCheckExtensions()
1245 for (Scope* s = scope(); s != var->scope(); s = s->outer_scope()) { in ContextSlotOperandCheckExtensions()
/external/v8/src/full-codegen/s390/
Dfull-codegen-s390.cc1139 s = s->outer_scope(); in EmitLoadGlobalCheckExtensions()
1173 for (Scope* s = scope(); s != var->scope(); s = s->outer_scope()) { in ContextSlotOperandCheckExtensions()
/external/v8/src/full-codegen/ppc/
Dfull-codegen-ppc.cc1171 s = s->outer_scope(); in EmitLoadGlobalCheckExtensions()
1207 for (Scope* s = scope(); s != var->scope(); s = s->outer_scope()) { in ContextSlotOperandCheckExtensions()
/external/v8/src/full-codegen/mips/
Dfull-codegen-mips.cc1203 s = s->outer_scope(); in EmitLoadGlobalCheckExtensions()
1238 for (Scope* s = scope(); s != var->scope(); s = s->outer_scope()) { in ContextSlotOperandCheckExtensions()
/external/v8/src/compiler/
Dast-graph-builder.cc3157 for (Scope* s = current_scope(); s != nullptr; s = s->outer_scope()) { in ComputeBitsetForDynamicGlobal()
3175 for (Scope* s = current_scope(); s != nullptr; s = s->outer_scope()) { in ComputeBitsetForDynamicContext()