Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index 28c5e767d311b31790a34a4b36bf451da9a96264..818be99db104c4e350786e8d922c49106dcb7d5e 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -1064,9 +1064,9 @@ CaseClause::CaseClause(Isolate* isolate, |
Expression* label, |
ZoneList<Statement*>* statements, |
int pos) |
- : label_(label), |
+ : AstNode(pos), |
+ label_(label), |
statements_(statements), |
- position_(pos), |
compare_type_(Type::None(), isolate), |
compare_id_(AstNode::GetNextId(isolate)), |
entry_id_(AstNode::GetNextId(isolate)) { |
@@ -1108,6 +1108,7 @@ REGULAR_NODE(ContinueStatement) |
REGULAR_NODE(BreakStatement) |
REGULAR_NODE(ReturnStatement) |
REGULAR_NODE(SwitchStatement) |
+REGULAR_NODE(CaseClause) |
REGULAR_NODE(Conditional) |
REGULAR_NODE(Literal) |
REGULAR_NODE(ArrayLiteral) |