Index: src/ast/ast.h |
diff --git a/src/ast/ast.h b/src/ast/ast.h |
index 5c9dc143ceca988e79a489191afc1c1a097d41aa..796037d7da451decdfe29efea954c3eb1ef85d69 100644 |
--- a/src/ast/ast.h |
+++ b/src/ast/ast.h |
@@ -1554,9 +1554,7 @@ class ArrayLiteral final : public MaterializedLiteral { |
Handle<ConstantElementsPair> constant_elements() const { |
return constant_elements_; |
} |
- ElementsKind constant_elements_kind() const { |
- return static_cast<ElementsKind>(constant_elements()->elements_kind()); |
- } |
+ ElementsKind constant_elements_kind() const; |
ZoneList<Expression*>* values() const { return values_; } |