diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2019-01-21 22:57:51 +0800 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-01-27 21:40:24 +0100 |
commit | e3e404858d5fb1ae0b50a45f0d1678235f200de0 (patch) | |
tree | 8fc7d9ed8732cc05f067087fb44d9bcb2f1b852e /src/node_perf.cc | |
parent | 573ec5b0229da2fb6263987f1456595b7bac8b09 (diff) | |
download | android-node-v8-e3e404858d5fb1ae0b50a45f0d1678235f200de0.tar.gz android-node-v8-e3e404858d5fb1ae0b50a45f0d1678235f200de0.tar.bz2 android-node-v8-e3e404858d5fb1ae0b50a45f0d1678235f200de0.zip |
src: simplify inspector initialization in node::Start()
Remove the `StartInspector` and `InspectorStarted` abstraction
out of `v8_platform`, and error out early and directly in the
option parser if Node is configured with NODE_USE_V8_PLATFORM and
inspector enabled but the user still tries to use inspector options.
PR-URL: https://github.com/nodejs/node/pull/25612
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'src/node_perf.cc')
0 files changed, 0 insertions, 0 deletions