summaryrefslogtreecommitdiff
path: root/src/env-inl.h
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2018-09-06 10:39:38 +0200
committerDaniel Bevenius <daniel.bevenius@gmail.com>2018-09-09 13:39:03 +0200
commit6a9e776200bc0893d6d17d73488be28178e6f6fe (patch)
tree1d6348db125d9c87ef0650e1b304b47c3f1f871f /src/env-inl.h
parent67ba8ff31acd24ded6b634617c8b2d67e50002b1 (diff)
downloadandroid-node-v8-6a9e776200bc0893d6d17d73488be28178e6f6fe.tar.gz
android-node-v8-6a9e776200bc0893d6d17d73488be28178e6f6fe.tar.bz2
android-node-v8-6a9e776200bc0893d6d17d73488be28178e6f6fe.zip
src: remove abort_on_uncaught_exception node.cc
This commit removes the static variable abort_on_uncaught_exception and adds it to the environment options. PR-URL: https://github.com/nodejs/node/pull/22724 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/env-inl.h')
-rw-r--r--src/env-inl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/env-inl.h b/src/env-inl.h
index 28c30e0354..2e0c4c5d1c 100644
--- a/src/env-inl.h
+++ b/src/env-inl.h
@@ -420,11 +420,11 @@ inline void Environment::set_trace_sync_io(bool value) {
}
inline bool Environment::abort_on_uncaught_exception() const {
- return abort_on_uncaught_exception_;
+ return options_->abort_on_uncaught_exception;
}
inline void Environment::set_abort_on_uncaught_exception(bool value) {
- abort_on_uncaught_exception_ = value;
+ options_->abort_on_uncaught_exception = value;
}
inline AliasedBuffer<uint32_t, v8::Uint32Array>&