Lines Matching refs:decl
763 for (Declaration* decl : *info->scope()->declarations()) {
764 Variable* var = decl->var();
770 if (decl->IsFunctionDeclaration()) {
771 FunctionLiteral* f = static_cast<FunctionDeclaration*>(decl)->fun();
789 for (Declaration* decl : *info->scope()->declarations()) {
790 Variable* var = decl->var();
796 if (decl->IsVariableDeclaration()) {
800 FunctionLiteral* f = static_cast<FunctionDeclaration*>(decl)->fun();
1538 void BytecodeGenerator::VisitVariableDeclaration(VariableDeclaration* decl) {
1539 Variable* variable = decl->var();
1584 void BytecodeGenerator::VisitFunctionDeclaration(FunctionDeclaration* decl) {
1585 Variable* variable = decl->var();
1598 VisitFunctionLiteral(decl->fun());
1605 VisitFunctionLiteral(decl->fun());
1615 VisitFunctionLiteral(decl->fun());
1622 eager_inner_literals_ != nullptr && decl->fun()->ShouldEagerCompile(),
1623 IsInEagerLiterals(decl->fun(), *eager_inner_literals_));
1664 for (Declaration* decl : *decls) {
1665 Variable* var = decl->var();
1668 if (decl->IsFunctionDeclaration()) {
1670 FunctionDeclaration* f = static_cast<FunctionDeclaration*>(decl);
1674 DCHECK(decl->IsVariableDeclaration());
1679 Visit(decl);
1687 for (Declaration* decl : *decls) {
1688 Variable* var = decl->var();
1692 if (decl->IsFunctionDeclaration()) {
1694 FunctionDeclaration* f = static_cast<FunctionDeclaration*>(decl);
1701 DCHECK(decl->IsVariableDeclaration());
1710 for (Declaration* decl : *declarations) {
1712 Visit(decl);