Index: src/ast/ast.cc |
diff --git a/src/ast/ast.cc b/src/ast/ast.cc |
index 44f2d1263a5e958df8e370f0ba8898cf00c6a558..61eb42463128599bde59aee9cb88e4fc8e88bafa 100644 |
--- a/src/ast/ast.cc |
+++ b/src/ast/ast.cc |
@@ -65,19 +65,6 @@ MaterializedLiteral* AstNode::AsMaterializedLiteral() { |
#undef RETURN_NODE |
-InitializationFlag Declaration::initialization() const { |
- switch (node_type()) { |
-#define GENERATE_CASE(Node) \ |
- case k##Node: \ |
- return static_cast<const Node*>(this)->initialization(); |
- DECLARATION_NODE_LIST(GENERATE_CASE); |
-#undef GENERATE_CASE |
- default: |
- UNREACHABLE(); |
- return kNeedsInitialization; |
- } |
-} |
- |
bool Expression::IsSmiLiteral() const { |
return IsLiteral() && AsLiteral()->value()->IsSmi(); |
} |