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

Unified Diff: src/runtime/runtime-object.cc

Issue 2345823002: [modules] Turn JSModule into Module. (Closed)
Patch Set: Address comments. Created 4 years, 3 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/objects-printer.cc ('k') | src/runtime/runtime-scopes.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime/runtime-object.cc
diff --git a/src/runtime/runtime-object.cc b/src/runtime/runtime-object.cc
index 59be2b0f271b7be3379ed9d9d3378af76d4440d2..36dc3fe47a45a384ab3c3498113e5a6ea8c59e8a 100644
--- a/src/runtime/runtime-object.cc
+++ b/src/runtime/runtime-object.cc
@@ -932,8 +932,8 @@ RUNTIME_FUNCTION(Runtime_LoadModuleExport) {
HandleScope scope(isolate);
DCHECK(args.length() == 1);
CONVERT_ARG_HANDLE_CHECKED(String, name, 0);
- Handle<JSModule> module(isolate->context()->module());
- return *JSModule::LoadExport(module, name);
+ Handle<Module> module(isolate->context()->module());
+ return *Module::LoadExport(module, name);
}
RUNTIME_FUNCTION(Runtime_StoreModuleExport) {
@@ -941,8 +941,8 @@ RUNTIME_FUNCTION(Runtime_StoreModuleExport) {
DCHECK(args.length() == 2);
CONVERT_ARG_HANDLE_CHECKED(String, name, 0);
CONVERT_ARG_HANDLE_CHECKED(Object, value, 1);
- Handle<JSModule> module(isolate->context()->module());
- JSModule::StoreExport(module, name, value);
+ Handle<Module> module(isolate->context()->module());
+ Module::StoreExport(module, name, value);
return isolate->heap()->undefined_value();
}
« no previous file with comments | « src/objects-printer.cc ('k') | src/runtime/runtime-scopes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698