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

Unified Diff: src/full-codegen/s390/full-codegen-s390.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/full-codegen/ppc/full-codegen-ppc.cc ('k') | src/full-codegen/x64/full-codegen-x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/full-codegen/s390/full-codegen-s390.cc
diff --git a/src/full-codegen/s390/full-codegen-s390.cc b/src/full-codegen/s390/full-codegen-s390.cc
index 4bced1439da84a5a8de2fc3c93a80055f8264c67..44ef8c82294f1f0af7ab8e1cfc3b91acca019675 100644
--- a/src/full-codegen/s390/full-codegen-s390.cc
+++ b/src/full-codegen/s390/full-codegen-s390.cc
@@ -746,6 +746,9 @@ void FullCodeGenerator::VisitVariableDeclaration(
PrepareForBailoutForId(proxy->id(), BailoutState::NO_REGISTERS);
break;
}
+
+ case VariableLocation::MODULE:
+ UNREACHABLE();
}
}
@@ -799,6 +802,9 @@ void FullCodeGenerator::VisitFunctionDeclaration(
PrepareForBailoutForId(proxy->id(), BailoutState::NO_REGISTERS);
break;
}
+
+ case VariableLocation::MODULE:
+ UNREACHABLE();
}
}
@@ -1283,7 +1289,11 @@ void FullCodeGenerator::EmitVariableLoad(VariableProxy* proxy,
__ CallRuntime(function_id);
__ bind(&done);
context()->Plug(r2);
+ break;
}
+
+ case VariableLocation::MODULE:
+ UNREACHABLE();
}
}
« no previous file with comments | « src/full-codegen/ppc/full-codegen-ppc.cc ('k') | src/full-codegen/x64/full-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698