Lines Matching refs:scope
180 v8::Context::Scope context_scope(context);
550 v8::Context::Scope context_scope(context);
820 // of a scope. We check the scope positions of exactly one scope
821 // nested in the global scope of a program. 'inner source' is the
823 // to the nested scope. 'outer_prefix' and 'outer_suffix' are
824 // parts of the source that belong to the global scope.
998 v8::Context::Scope context_scope(context);
1033 // Check scope types and positions.
1034 i::Scope* scope = info.function()->scope();
1035 CHECK(scope->is_global_scope());
1036 CHECK_EQ(scope->start_position(), 0);
1037 CHECK_EQ(scope->end_position(), kProgramSize);
1038 CHECK_EQ(scope->inner_scopes()->length(), 1);
1040 i::Scope* inner_scope = scope->inner_scopes()->at(0);
1271 v8::Context::Scope context_scope(context);
1322 v8::HandleScope scope(CcTest::isolate());
1323 v8::Context::Scope context_scope(