summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2018-12-23 11:42:28 +0800
committerJoyee Cheung <joyeec9h3@gmail.com>2018-12-31 14:19:48 +0800
commit7163fbf066fe3e84a2203c01a385df1765d53ab6 (patch)
tree1662f230c7dae483efd9e87dd3f16a2b7a971365 /node.gyp
parentda13c44b0d3e858e6195a56534deb5c22be161c5 (diff)
downloadandroid-node-v8-7163fbf066fe3e84a2203c01a385df1765d53ab6.tar.gz
android-node-v8-7163fbf066fe3e84a2203c01a385df1765d53ab6.tar.bz2
android-node-v8-7163fbf066fe3e84a2203c01a385df1765d53ab6.zip
process: move eval and exception bootstrap ito process/execution.js
This patch: - Moves `tryGetCwd`, `evalScript` and `fatalException` from `bootstrap/node.js` into `process/execution.js` so that they do have to be passed into the worker thread setup function, instead the worker code can require them when necessary. - Moves `setUncaughtExceptionCaptureCallback` and `hasUncaughtExceptionCaptureCallback` along with the two global state `exceptionHandlerState` and `shouldAbortOnUncaughtToggle` info `process.execution.js` as those are only used by the fatalException and these two accessors as one self-contained unit. PR-URL: https://github.com/nodejs/node/pull/25199 Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index e36f9f26aa..8db51f6857 100644
--- a/node.gyp
+++ b/node.gyp
@@ -142,6 +142,7 @@
'lib/internal/print_help.js',
'lib/internal/priority_queue.js',
'lib/internal/process/esm_loader.js',
+ 'lib/internal/process/execution.js',
'lib/internal/process/main_thread_only.js',
'lib/internal/process/next_tick.js',
'lib/internal/process/per_thread.js',