diff options
author | Bradley Farias <bradley.meck@gmail.com> | 2019-08-02 17:06:34 +0300 |
---|---|---|
committer | Bradley Farias <bradley.meck@gmail.com> | 2019-08-20 17:49:48 +0300 |
commit | 85898e0aca26cee2e68aea9ba384e23cd4457849 (patch) | |
tree | 7746ba86dcce63cbf6f23faa54550f92a1528ca7 /lib/internal/bootstrap | |
parent | 9fd9efa49222c65e255085cfaabf4924721c833d (diff) |
bootstrap: run preload prior to frozen-intrinsics
This is used to allow people to run polyfills.
Co-Authored-By: Anna Henningsen <github@addaleax.net>
PR-URL: https://github.com/nodejs/node/pull/28940
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'lib/internal/bootstrap')
-rw-r--r-- | lib/internal/bootstrap/pre_execution.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/bootstrap/pre_execution.js b/lib/internal/bootstrap/pre_execution.js index 1948c4e29e6..9e8897bb009 100644 --- a/lib/internal/bootstrap/pre_execution.js +++ b/lib/internal/bootstrap/pre_execution.js @@ -48,10 +48,10 @@ function prepareMainThreadExecution(expandArgv1 = false) { initializeClusterIPC(); initializeDeprecations(); - initializeFrozenIntrinsics(); initializeCJSLoader(); initializeESMLoader(); loadPreloadModules(); + initializeFrozenIntrinsics(); } function patchProcessObject(expandArgv1) { |