diff --git a/deps/v8/include/v8-version.h b/deps/v8/include/v8-version.h index e2c861431c1091..aa916fc1259186 100644 --- a/deps/v8/include/v8-version.h +++ b/deps/v8/include/v8-version.h @@ -11,7 +11,7 @@ #define V8_MAJOR_VERSION 5 #define V8_MINOR_VERSION 1 #define V8_BUILD_NUMBER 281 -#define V8_PATCH_LEVEL 104 +#define V8_PATCH_LEVEL 105 // Use 1 for candidates and 0 otherwise. // (Boolean macro values are not supported by all preprocessors.) diff --git a/deps/v8/include/v8.h b/deps/v8/include/v8.h index ec45c91d77e728..2184b4a4b9cb07 100644 --- a/deps/v8/include/v8.h +++ b/deps/v8/include/v8.h @@ -6869,6 +6869,11 @@ class V8_EXPORT TryCatch { */ void SetVerbose(bool value); + /** + * Returns true if verbosity is enabled. + */ + bool IsVerbose() const; + /** * Set whether or not this TryCatch should capture a Message object * which holds source information about where the exception diff --git a/deps/v8/src/api.cc b/deps/v8/src/api.cc index 50848c780dff0c..3fbf688b5fcf6b 100644 --- a/deps/v8/src/api.cc +++ b/deps/v8/src/api.cc @@ -2395,6 +2395,10 @@ void v8::TryCatch::SetVerbose(bool value) { is_verbose_ = value; } +bool v8::TryCatch::IsVerbose() const { + return is_verbose_; +} + void v8::TryCatch::SetCaptureMessage(bool value) { capture_message_ = value;