Index: src/asmjs/typing-asm.cc |
diff --git a/src/asmjs/typing-asm.cc b/src/asmjs/typing-asm.cc |
index cc0c5e62400ea0ac1fe318583ae5f2e3ba9325f2..8470f5c2fbe044d1e6da1824425d954e96aaad87 100644 |
--- a/src/asmjs/typing-asm.cc |
+++ b/src/asmjs/typing-asm.cc |
@@ -1387,10 +1387,6 @@ void AsmTyper::VisitImportDeclaration(ImportDeclaration* decl) { |
FAIL(decl, "import declaration encountered"); |
} |
-void AsmTyper::VisitClassLiteral(ClassLiteral* expr) { |
- FAIL(expr, "class literal not allowed"); |
-} |
- |
void AsmTyper::VisitSpread(Spread* expr) { FAIL(expr, "spread not allowed"); } |
void AsmTyper::VisitSuperPropertyReference(SuperPropertyReference* expr) { |