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

Unified Diff: src/compiler/verifier.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/typer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/verifier.cc
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc
index 6552654cf37b171738a3b4574027605a07d49578..43c6ef2df86a3b8c4969d4c3f8e7ca8e9c208080 100644
--- a/src/compiler/verifier.cc
+++ b/src/compiler/verifier.cc
@@ -660,6 +660,13 @@ void Verifier::Visitor::Check(Node* node) {
case IrOpcode::kJSStoreMessage:
break;
+ case IrOpcode::kJSLoadModule:
+ CheckTypeIs(node, Type::Any());
+ break;
+ case IrOpcode::kJSStoreModule:
+ CheckNotTyped(node);
+ break;
+
case IrOpcode::kJSGeneratorStore:
CheckNotTyped(node);
break;
« no previous file with comments | « src/compiler/typer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698