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

Side by Side Diff: src/typing-asm.cc

Issue 2081733004: Rip out most of our outdated modules implementation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. 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 unified diff | Download patch
« no previous file with comments | « src/runtime/runtime-scopes.cc ('k') | src/wasm/asm-wasm-builder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/typing-asm.h" 5 #include "src/typing-asm.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "src/v8.h" 9 #include "src/v8.h"
10 10
(...skipping 1389 matching lines...) Expand 10 before | Expand all | Expand 10 after
1400 RECURSE(Visit(decl)); 1400 RECURSE(Visit(decl));
1401 } 1401 }
1402 } 1402 }
1403 1403
1404 1404
1405 void AsmTyper::VisitImportDeclaration(ImportDeclaration* decl) { 1405 void AsmTyper::VisitImportDeclaration(ImportDeclaration* decl) {
1406 FAIL(decl, "import declaration encountered"); 1406 FAIL(decl, "import declaration encountered");
1407 } 1407 }
1408 1408
1409 1409
1410 void AsmTyper::VisitExportDeclaration(ExportDeclaration* decl) {
1411 FAIL(decl, "export declaration encountered");
1412 }
1413
1414
1415 void AsmTyper::VisitClassLiteral(ClassLiteral* expr) { 1410 void AsmTyper::VisitClassLiteral(ClassLiteral* expr) {
1416 FAIL(expr, "class literal not allowed"); 1411 FAIL(expr, "class literal not allowed");
1417 } 1412 }
1418 1413
1419 1414
1420 void AsmTyper::VisitSpread(Spread* expr) { FAIL(expr, "spread not allowed"); } 1415 void AsmTyper::VisitSpread(Spread* expr) { FAIL(expr, "spread not allowed"); }
1421 1416
1422 1417
1423 void AsmTyper::VisitSuperPropertyReference(SuperPropertyReference* expr) { 1418 void AsmTyper::VisitSuperPropertyReference(SuperPropertyReference* expr) {
1424 FAIL(expr, "super property reference not allowed"); 1419 FAIL(expr, "super property reference not allowed");
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
1637 } 1632 }
1638 1633
1639 1634
1640 void AsmTyper::VisitRewritableExpression(RewritableExpression* expr) { 1635 void AsmTyper::VisitRewritableExpression(RewritableExpression* expr) {
1641 RECURSE(Visit(expr->expression())); 1636 RECURSE(Visit(expr->expression()));
1642 } 1637 }
1643 1638
1644 1639
1645 } // namespace internal 1640 } // namespace internal
1646 } // namespace v8 1641 } // namespace v8
OLDNEW
« no previous file with comments | « src/runtime/runtime-scopes.cc ('k') | src/wasm/asm-wasm-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698