Lines Matching refs:kFuncScope
34 enum AsmScope { kModuleScope, kInitScope, kFuncScope, kExportScope }; enumerator
131 scope_ = kFuncScope; in VisitFunctionDeclaration()
165 if (scope_ == kFuncScope) { in VisitBlock()
202 DCHECK_EQ(kFuncScope, scope_); in VisitIfStatement()
219 DCHECK_EQ(kFuncScope, scope_); in VisitContinueStatement()
240 DCHECK_EQ(kFuncScope, scope_); in VisitBreakStatement()
267 } else if (scope_ == kFuncScope) { in VisitReturnStatement()
400 DCHECK_EQ(kFuncScope, scope_); in VisitDoWhileStatement()
410 DCHECK_EQ(kFuncScope, scope_); in VisitWhileStatement()
422 DCHECK_EQ(kFuncScope, scope_); in VisitForStatement()
463 if (scope_ == kFuncScope) { in VisitFunctionLiteral()
491 DCHECK_EQ(kFuncScope, scope_); in VisitConditional()
556 if (scope_ == kFuncScope || scope_ == kInitScope) { in VisitVariableProxy()
575 if (!value->IsNumber() || (scope_ != kFuncScope && scope_ != kInitScope)) { in VisitLiteral()
1271 DCHECK_EQ(kFuncScope, scope_); in VisitCall()
1308 DCHECK_EQ(kFuncScope, scope_); in VisitCall()