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

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

Issue 2199283002: [modules] Introduce new VariableLocation for module imports/exports. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 4 years, 4 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
« no previous file with comments | « src/ast/variables.cc ('k') | src/crankshaft/hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/ast-graph-builder.cc
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
index 9e889876aba6b5765a9dfc2c923319cceeafda23..70d02645bfcb7a2ea6d075229109d3d813f400d6 100644
--- a/src/compiler/ast-graph-builder.cc
+++ b/src/compiler/ast-graph-builder.cc
@@ -1117,6 +1117,8 @@ void AstGraphBuilder::VisitVariableDeclaration(VariableDeclaration* decl) {
PrepareFrameState(store, decl->proxy()->id());
break;
}
+ case VariableLocation::MODULE:
+ UNREACHABLE();
}
}
@@ -1160,6 +1162,8 @@ void AstGraphBuilder::VisitFunctionDeclaration(FunctionDeclaration* decl) {
PrepareFrameState(store, decl->proxy()->id());
break;
}
+ case VariableLocation::MODULE:
+ UNREACHABLE();
}
}
@@ -3374,6 +3378,8 @@ Node* AstGraphBuilder::BuildVariableLoad(Variable* variable,
PrepareFrameState(value, bailout_id, combine);
return value;
}
+ case VariableLocation::MODULE:
+ UNREACHABLE();
}
UNREACHABLE();
return nullptr;
@@ -3409,6 +3415,8 @@ Node* AstGraphBuilder::BuildVariableDelete(Variable* variable,
PrepareFrameState(result, bailout_id, combine);
return result;
}
+ case VariableLocation::MODULE:
+ UNREACHABLE();
}
UNREACHABLE();
return nullptr;
@@ -3514,6 +3522,8 @@ Node* AstGraphBuilder::BuildVariableAssignment(
PrepareFrameState(store, bailout_id, combine);
return store;
}
+ case VariableLocation::MODULE:
+ UNREACHABLE();
}
UNREACHABLE();
return nullptr;
« no previous file with comments | « src/ast/variables.cc ('k') | src/crankshaft/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698