Searched refs:is_global_scope (Results 1 – 10 of 10) sorted by relevance
226 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() function276 return is_eval_scope() || is_function_scope() || is_global_scope(); in is_declaration_scope()
87 return mode_ != TEMPORARY && scope_ != NULL && scope_->is_global_scope(); in is_global()
257 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()
240 if (!scope->is_global_scope() && !scope->is_eval_scope()) return true; in EXPRESSION_NODE_LIST()
612 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()
1028 CHECK(scope->is_global_scope()); in TEST()
4360 if (declaration_scope->is_global_scope()) { in PushFunctionArgumentForContextAllocation()
4261 if (declaration_scope->is_global_scope()) { in PushFunctionArgumentForContextAllocation()
4396 if (declaration_scope->is_global_scope()) { in PushFunctionArgumentForContextAllocation()
4347 if (declaration_scope->is_global_scope()) { in PushFunctionArgumentForContextAllocation()