Lines Matching refs:VariableMode
1214 DCHECK_EQ(VariableMode::kVar, variable->mode()); in VisitVariableDeclaration()
1237 DCHECK(variable->mode() == VariableMode::kLet || in VisitFunctionDeclaration()
1238 variable->mode() == VariableMode::kVar); in VisitFunctionDeclaration()
1273 DCHECK_EQ(variable->mode(), VariableMode::kLet); in VisitFunctionDeclaration()
2603 case VariableMode::kDynamicLocal: { in BuildVariableLoad()
2614 case VariableMode::kDynamicGlobal: { in BuildVariableLoad()
2693 DCHECK(variable->mode() == VariableMode::kConst); in BuildThrowIfHole()
2702 if (variable->is_this() && variable->mode() == VariableMode::kConst && in BuildHoleCheckForVariableAssignment()
2719 VariableMode mode = variable->mode(); in BuildVariableAssignment()
2747 if (mode != VariableMode::kConst || op == Token::INIT) { in BuildVariableAssignment()
2783 if (mode != VariableMode::kConst || op == Token::INIT) { in BuildVariableAssignment()
2798 if (mode == VariableMode::kConst && op != Token::INIT) { in BuildVariableAssignment()