| Index: src/d8.h
|
| diff --git a/src/d8.h b/src/d8.h
|
| index 21e4c4f0833c9f26da1b49813c1606d3d06351b5..d830a60a0c80697c69f47fc296baa51bb88ada8a 100644
|
| --- a/src/d8.h
|
| +++ b/src/d8.h
|
| @@ -280,7 +280,6 @@ class Worker {
|
| base::Atomic32 running_;
|
| };
|
|
|
| -
|
| class ShellOptions {
|
| public:
|
| ShellOptions()
|
| @@ -440,7 +439,11 @@ class Shell : public i::AllStatic {
|
| static void SetUMask(const v8::FunctionCallbackInfo<v8::Value>& args);
|
| static void MakeDirectory(const v8::FunctionCallbackInfo<v8::Value>& args);
|
| static void RemoveDirectory(const v8::FunctionCallbackInfo<v8::Value>& args);
|
| -
|
| + static void HostImportModuleDynamically(Isolate* isolate,
|
| + Local<String> source_url,
|
| + Local<String> specifier,
|
| + Local<Promise> promise);
|
| + static void DoHostImportModuleDynamically(void* data);
|
| static void AddOSMethods(v8::Isolate* isolate,
|
| Local<ObjectTemplate> os_template);
|
|
|
| @@ -482,6 +485,9 @@ class Shell : public i::AllStatic {
|
| int index);
|
| static MaybeLocal<Module> FetchModuleTree(v8::Local<v8::Context> context,
|
| const std::string& file_name);
|
| + static MaybeLocal<Module> DynamicFetchModuleTree(
|
| + v8::Local<v8::Context> context, v8::Local<v8::Promise> promise,
|
| + const std::string& file_name);
|
| };
|
|
|
|
|
|
|