| 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);
|
| };
|
|
|
|
|
|
|