diff options
Diffstat (limited to 'deps/v8/src/objects/synthetic-module.h')
-rw-r--r-- | deps/v8/src/objects/synthetic-module.h | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/deps/v8/src/objects/synthetic-module.h b/deps/v8/src/objects/synthetic-module.h index 77a6eed276..6f3bb0438e 100644 --- a/deps/v8/src/objects/synthetic-module.h +++ b/deps/v8/src/objects/synthetic-module.h @@ -24,21 +24,9 @@ class SyntheticModule DECL_VERIFIER(SyntheticModule) DECL_PRINTER(SyntheticModule) - // Set module's exported value for the specified export_name to the specified - // export_value. An error will be thrown if export_name is not one - // of the export_names that were supplied during module construction. - // Returns Just(true) on success, Nothing<bool>() if an error was thrown. - static Maybe<bool> SetExport(Isolate* isolate, Handle<SyntheticModule> module, - Handle<String> export_name, - Handle<Object> export_value); - // The following redundant method should be deleted when the deprecated - // version of v8::SetSyntheticModuleExport is removed. It differs from - // SetExport in that it crashes rather than throwing an error if the caller - // attempts to set an export_name that was not present during construction of - // the module. - static void SetExportStrict(Isolate* isolate, Handle<SyntheticModule> module, - Handle<String> export_name, - Handle<Object> export_value); + static void SetExport(Isolate* isolate, Handle<SyntheticModule> module, + Handle<String> export_name, + Handle<Object> export_value); using BodyDescriptor = SubclassBodyDescriptor< Module::BodyDescriptor, |