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

Unified Diff: src/full-codegen/mips64/full-codegen-mips64.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/mips/full-codegen-mips.cc ('k') | src/full-codegen/ppc/full-codegen-ppc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/full-codegen/mips64/full-codegen-mips64.cc
diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc
index e480271d7d84d14e882ac90be6326e34ba3580d1..71a5699526ebb847ba1da8480d87c66015033917 100644
--- a/src/full-codegen/mips64/full-codegen-mips64.cc
+++ b/src/full-codegen/mips64/full-codegen-mips64.cc
@@ -797,6 +797,9 @@ void FullCodeGenerator::VisitVariableDeclaration(
PrepareForBailoutForId(proxy->id(), BailoutState::NO_REGISTERS);
break;
}
+
+ case VariableLocation::MODULE:
+ UNREACHABLE();
}
}
@@ -856,6 +859,9 @@ void FullCodeGenerator::VisitFunctionDeclaration(
PrepareForBailoutForId(proxy->id(), BailoutState::NO_REGISTERS);
break;
}
+
+ case VariableLocation::MODULE:
+ UNREACHABLE();
}
}
@@ -1347,7 +1353,11 @@ void FullCodeGenerator::EmitVariableLoad(VariableProxy* proxy,
__ CallRuntime(function_id);
__ bind(&done);
context()->Plug(v0);
+ break;
}
+
+ case VariableLocation::MODULE:
+ UNREACHABLE();
}
}
« no previous file with comments | « src/full-codegen/mips/full-codegen-mips.cc ('k') | src/full-codegen/ppc/full-codegen-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698