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

Unified Diff: src/compiler/bytecode-graph-builder.cc

Issue 2471033004: [ignition,modules] Introduce bytecodes for loading/storing module variables. (Closed)
Patch Set: More comments. 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
Index: src/compiler/bytecode-graph-builder.cc
diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc
index 6f7b374a7599eae1e15008d684b5c0b6fd0f02af..dbcff3938f9f3fec38ab2fdc18b79669bb371b27 100644
--- a/src/compiler/bytecode-graph-builder.cc
+++ b/src/compiler/bytecode-graph-builder.cc
@@ -691,6 +691,9 @@ void BytecodeGraphBuilder::VisitLdaSmi() {
environment()->BindAccumulator(node);
}
+void BytecodeGraphBuilder::VisitLdaModuleVariable() { UNIMPLEMENTED(); }
+void BytecodeGraphBuilder::VisitStaModuleVariable() { UNIMPLEMENTED(); }
rmcilroy 2016/11/03 13:58:06 Should these just call the runtime function for no
neis 2016/11/03 15:02:25 Good idea, just did that (and tested it manually).
+
void BytecodeGraphBuilder::VisitLdaConstant() {
Node* node =
jsgraph()->Constant(bytecode_iterator().GetConstantForIndexOperand(0));

Powered by Google App Engine
This is Rietveld 408576698