diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2021-10-07 07:03:10 +0300 |
---|---|---|
committer | Joyee Cheung <joyeec9h3@gmail.com> | 2021-10-16 05:03:50 +0300 |
commit | 38aa7cc7c7ea644c8d60859880f69a98f7159ffa (patch) | |
tree | 8c3a575b5dc10afc3e5833bdae39ccfa10fd1abe /src/node_options.h | |
parent | 6baea14506a4ebd2f29bc9bcd5fb3beccba5a301 (diff) |
src: get embedder options on-demand
Only query embedder options when they are needed so that the bootstrap
remains as stateless as possible so that the bootstrap snapshot is
controlled solely by configure options, and subsequent runtime changes
should be done in pre-execution.
PR-URL: https://github.com/nodejs/node/pull/40357
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Shelley Vohr <shelley.vohr@gmail.com>
Diffstat (limited to 'src/node_options.h')
-rw-r--r-- | src/node_options.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_options.h b/src/node_options.h index 19e8ec15db6..fd772478d04 100644 --- a/src/node_options.h +++ b/src/node_options.h @@ -462,7 +462,7 @@ class OptionsParser { template <typename OtherOptions> friend class OptionsParser; - friend void GetOptions(const v8::FunctionCallbackInfo<v8::Value>& args); + friend void GetCLIOptions(const v8::FunctionCallbackInfo<v8::Value>& args); friend std::string GetBashCompletion(); }; |