Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Unified Diff: src/asmjs/typing-asm.cc

Issue 2108193003: [modules] AST and parser rework. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@anonymous-declarations
Patch Set: . Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/asmjs/typing-asm.cc
diff --git a/src/asmjs/typing-asm.cc b/src/asmjs/typing-asm.cc
index cc0c5e62400ea0ac1fe318583ae5f2e3ba9325f2..472157f46140624a29f180b2b10949fdbc750b00 100644
--- a/src/asmjs/typing-asm.cc
+++ b/src/asmjs/typing-asm.cc
@@ -1383,10 +1383,6 @@ void AsmTyper::VisitDeclarations(ZoneList<Declaration*>* decls) {
}
}
-void AsmTyper::VisitImportDeclaration(ImportDeclaration* decl) {
- FAIL(decl, "import declaration encountered");
-}
-
void AsmTyper::VisitClassLiteral(ClassLiteral* expr) {
FAIL(expr, "class literal not allowed");
}
« no previous file with comments | « src/asmjs/asm-wasm-builder.cc ('k') | src/ast/ast.h » ('j') | src/ast/modules.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698