diff options
author | Gus Caplan <me@gus.host> | 2020-01-09 19:34:55 +0300 |
---|---|---|
committer | Gus Caplan <me@gus.host> | 2020-01-13 01:43:56 +0300 |
commit | b810e6703968ea3cd82262aa9acc57fabc894cd1 (patch) | |
tree | 35a7fd0ef45d8d0401c6aa072699e91e3377797c /src/module_wrap.h | |
parent | 4455f603207815199854797b043b86cc8a885eb3 (diff) |
vm: add code cache support for SourceTextModule
PR-URL: https://github.com/nodejs/node/pull/31278
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'src/module_wrap.h')
-rw-r--r-- | src/module_wrap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/module_wrap.h b/src/module_wrap.h index bee4000d168..8937431022c 100644 --- a/src/module_wrap.h +++ b/src/module_wrap.h @@ -75,6 +75,7 @@ class ModuleWrap : public BaseObject { v8::Local<v8::Context> context, v8::Local<v8::Module> module); static void SetSyntheticExport( const v8::FunctionCallbackInfo<v8::Value>& args); + static void CreateCachedData(const v8::FunctionCallbackInfo<v8::Value>& args); static v8::MaybeLocal<v8::Module> ResolveCallback( v8::Local<v8::Context> context, |