Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index aeb767ef0c983293cb1b28fb94b1a6efb5aaff44..212ab513288cca3139b717101847fa1de24f58f6 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -1120,7 +1120,7 @@ CaseClause::CaseClause(Isolate* isolate, |
Expression* label, |
ZoneList<Statement*>* statements, |
int pos) |
- : AstNode(pos), |
+ : Expression(isolate, pos), |
label_(label), |
statements_(statements), |
compare_type_(Type::None(), isolate), |