Home
last modified time | relevance | path

Searched refs:is_global_scope (Results 1 – 10 of 10) sorted by relevance

/external/v8/src/
Dscopes.h226 void RecordEvalCall() { if (!is_global_scope()) scope_calls_eval_ = true; } in RecordEvalCall()
271 bool is_global_scope() const { return type_ == GLOBAL_SCOPE; } in is_global_scope() function
276 return is_eval_scope() || is_function_scope() || is_global_scope(); in is_declaration_scope()
Dvariables.cc87 return mode_ != TEMPORARY && scope_ != NULL && scope_->is_global_scope(); in is_global()
Dscopes.cc257 while (!top->is_global_scope() && in Analyze()
275 if (FLAG_harmony_modules && FLAG_print_interfaces && top->is_global_scope()) { in Analyze()
470 ASSERT(is_global_scope()); in DeclareGlobal()
927 ASSERT(is_global_scope()); in LookupRecursive()
957 ASSERT(info->global_scope()->is_global_scope()); in ResolveVariable()
1044 ASSERT(info->global_scope()->is_global_scope()); in ResolveVariablesRecursively()
Drewriter.cc240 if (!scope->is_global_scope() && !scope->is_eval_scope()) return true; in EXPRESSION_NODE_LIST()
Dparser.cc612 if (!scope->is_global_scope() || info->language_mode() != CLASSIC_MODE) { in DoParseProgram()
828 : enabled_(top_scope->DeclarationScope()->is_global_scope() && in InitializationBlockFinder()
1151 ASSERT(top_scope_->is_global_scope()); in ParseSourceElements()
1799 declaration_scope->is_global_scope()) { in Declare()
2273 if (initialization_scope->is_global_scope()) { in ParseVariableDeclarations()
2554 if (declaration_scope->is_global_scope() || in ParseReturnStatement()
4193 if (top_scope_->DeclarationScope()->is_global_scope() && in ParseObjectLiteral()
4486 top_scope_->outer_scope()->is_global_scope() && in ParseFunctionLiteral()
/external/v8/test/cctest/
Dtest-parsing.cc1028 CHECK(scope->is_global_scope()); in TEST()
/external/v8/src/arm/
Dfull-codegen-arm.cc4360 if (declaration_scope->is_global_scope()) { in PushFunctionArgumentForContextAllocation()
/external/v8/src/x64/
Dfull-codegen-x64.cc4261 if (declaration_scope->is_global_scope()) { in PushFunctionArgumentForContextAllocation()
/external/v8/src/mips/
Dfull-codegen-mips.cc4396 if (declaration_scope->is_global_scope()) { in PushFunctionArgumentForContextAllocation()
/external/v8/src/ia32/
Dfull-codegen-ia32.cc4347 if (declaration_scope->is_global_scope()) { in PushFunctionArgumentForContextAllocation()