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

Unified Diff: src/d8.h

Issue 2406973003: Revert of [modules] Store Module metadata in per-Context EmbedderData (Closed)
Patch Set: Created 4 years, 2 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/api.cc ('k') | src/d8.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/d8.h
diff --git a/src/d8.h b/src/d8.h
index e831f8eabf69f2db5e7ea4e9e925202867eaf2f5..32a7d25c2f7c4bf1859a900bd14b50027ca05e7c 100644
--- a/src/d8.h
+++ b/src/d8.h
@@ -5,6 +5,7 @@
#ifndef V8_D8_H_
#define V8_D8_H_
+#include <map>
#include <string>
#include "src/allocation.h"
@@ -454,8 +455,9 @@
static Local<ObjectTemplate> CreateGlobalTemplate(Isolate* isolate);
static MaybeLocal<Context> CreateRealm(
const v8::FunctionCallbackInfo<v8::Value>& args);
- static MaybeLocal<Module> FetchModuleTree(v8::Local<v8::Context> context,
- const std::string& file_name);
+ static MaybeLocal<Module> FetchModuleTree(
+ Isolate* isolate, const std::string& file_name,
+ std::map<std::string, Global<Module>>* module_map);
};
« no previous file with comments | « src/api.cc ('k') | src/d8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698