Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2020-03-13 04:32:07 +0300
committerMyles Borins <mylesborins@google.com>2020-03-24 09:55:07 +0300
commit1950c08ab190c56a2ce91fc0f56ddf081fcb341c (patch)
treef1dfac5fdad230de457f8b1857e0f9413502749f /src/node_options.h
parentc00ce7b7088d6f8af79dab2d832ce60c7351690d (diff)
src: unconditionally include report feature
This commit removes all #ifdef NODE_REPORT checks in the src directory. PR-URL: https://github.com/nodejs/node/pull/32242 Fixes: https://github.com/nodejs/node/issues/26293 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'src/node_options.h')
-rw-r--r--src/node_options.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/node_options.h b/src/node_options.h
index 470007f06b6..958eaf29571 100644
--- a/src/node_options.h
+++ b/src/node_options.h
@@ -151,9 +151,7 @@ class EnvironmentOptions : public Options {
bool syntax_check_only = false;
bool has_eval_string = false;
-#ifdef NODE_REPORT
bool experimental_report = false;
-#endif // NODE_REPORT
bool experimental_wasi = false;
std::string eval_string;
bool print_eval = false;
@@ -187,15 +185,12 @@ class PerIsolateOptions : public Options {
std::shared_ptr<EnvironmentOptions> per_env { new EnvironmentOptions() };
bool track_heap_objects = false;
bool no_node_snapshot = false;
-
-#ifdef NODE_REPORT
bool report_uncaught_exception = false;
bool report_on_signal = false;
bool report_on_fatalerror = false;
std::string report_signal;
std::string report_filename;
std::string report_directory;
-#endif // NODE_REPORT
inline EnvironmentOptions* get_per_env_options();
void CheckOptions(std::vector<std::string>* errors) override;
};
@@ -239,10 +234,7 @@ class PerProcessOptions : public Options {
#endif
std::string use_largepages = "off";
bool trace_sigint = false;
-
-#ifdef NODE_REPORT
std::vector<std::string> cmdline;
-#endif // NODE_REPORT
inline PerIsolateOptions* get_per_isolate_options();
void CheckOptions(std::vector<std::string>* errors) override;