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

Side by Side Diff: src/compiler/typer.cc

Issue 2489863003: [compiler,modules] Introduce JS operators for module loads and stores. (Closed)
Patch Set: Remove unused variable. Created 4 years, 1 month 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/compiler/opcodes.h ('k') | src/compiler/verifier.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/compiler/typer.h" 5 #include "src/compiler/typer.h"
6 6
7 #include <iomanip> 7 #include <iomanip>
8 8
9 #include "src/base/flags.h" 9 #include "src/base/flags.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 1470 matching lines...) Expand 10 before | Expand all | Expand 10 after
1481 1481
1482 1482
1483 Type* Typer::Visitor::TypeJSLoadMessage(Node* node) { return Type::Any(); } 1483 Type* Typer::Visitor::TypeJSLoadMessage(Node* node) { return Type::Any(); }
1484 1484
1485 1485
1486 Type* Typer::Visitor::TypeJSStoreMessage(Node* node) { 1486 Type* Typer::Visitor::TypeJSStoreMessage(Node* node) {
1487 UNREACHABLE(); 1487 UNREACHABLE();
1488 return nullptr; 1488 return nullptr;
1489 } 1489 }
1490 1490
1491 Type* Typer::Visitor::TypeJSLoadModule(Node* node) { return Type::Any(); }
1492
1493 Type* Typer::Visitor::TypeJSStoreModule(Node* node) {
1494 UNREACHABLE();
1495 return nullptr;
1496 }
1497
1491 Type* Typer::Visitor::TypeJSGeneratorStore(Node* node) { 1498 Type* Typer::Visitor::TypeJSGeneratorStore(Node* node) {
1492 UNREACHABLE(); 1499 UNREACHABLE();
1493 return nullptr; 1500 return nullptr;
1494 } 1501 }
1495 1502
1496 Type* Typer::Visitor::TypeJSGeneratorRestoreContinuation(Node* node) { 1503 Type* Typer::Visitor::TypeJSGeneratorRestoreContinuation(Node* node) {
1497 return typer_->cache_.kSmi; 1504 return typer_->cache_.kSmi;
1498 } 1505 }
1499 1506
1500 Type* Typer::Visitor::TypeJSGeneratorRestoreRegister(Node* node) { 1507 Type* Typer::Visitor::TypeJSGeneratorRestoreRegister(Node* node) {
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
1737 Type* Typer::Visitor::TypeConstant(Handle<Object> value) { 1744 Type* Typer::Visitor::TypeConstant(Handle<Object> value) {
1738 if (Type::IsInteger(*value)) { 1745 if (Type::IsInteger(*value)) {
1739 return Type::Range(value->Number(), value->Number(), zone()); 1746 return Type::Range(value->Number(), value->Number(), zone());
1740 } 1747 }
1741 return Type::NewConstant(value, zone()); 1748 return Type::NewConstant(value, zone());
1742 } 1749 }
1743 1750
1744 } // namespace compiler 1751 } // namespace compiler
1745 } // namespace internal 1752 } // namespace internal
1746 } // namespace v8 1753 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698