summaryrefslogtreecommitdiff
path: root/src/node_errors.h
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2019-03-08 16:28:19 +0100
committerDaniel Bevenius <daniel.bevenius@gmail.com>2019-03-11 06:11:12 +0100
commit8d669bbeb1ed77e9cdc679f75d9e8529f5764087 (patch)
tree2b84c3a090de762ab014cb39f359cfcd68b40e9e /src/node_errors.h
parentcc2c07ce0859f2df626bce912ba456439fdb33ec (diff)
downloadandroid-node-v8-8d669bbeb1ed77e9cdc679f75d9e8529f5764087.tar.gz
android-node-v8-8d669bbeb1ed77e9cdc679f75d9e8529f5764087.tar.bz2
android-node-v8-8d669bbeb1ed77e9cdc679f75d9e8529f5764087.zip
process: refactor global.queueMicrotask()
- Lazy load `async_hooks` in the implementation - Rename `process/next_tick.js` to `process/task_queues.js` and move the implementation of `global.queueMicrotask()` there since these methods are conceptually related to each other. - Move the bindings used by `global.queueMicrotask()` into `node_task_queue.cc` instead of the generic `node_util.cc` - Use `defineOperation` to define `global.queueMicrotask()` PR-URL: https://github.com/nodejs/node/pull/26523 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_errors.h')
-rw-r--r--src/node_errors.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/node_errors.h b/src/node_errors.h
index 28bf6a670f..d37dd7106b 100644
--- a/src/node_errors.h
+++ b/src/node_errors.h
@@ -31,8 +31,6 @@ void FatalException(v8::Isolate* isolate,
v8::Local<v8::Value> error,
v8::Local<v8::Message> message);
-void FatalException(const v8::FunctionCallbackInfo<v8::Value>& args);
-
// Helpers to construct errors similar to the ones provided by
// lib/internal/errors.js.
// Example: with `V(ERR_INVALID_ARG_TYPE, TypeError)`, there will be