From 75c91ca118513318a414a86f335b5a3657527450 Mon Sep 17 00:00:00 2001 From: Kunal Pathak Date: Tue, 16 May 2017 13:55:30 -0700 Subject: [PATCH] chakrashim: Fixed build errors PR-URL: #245 Reviewed-By: Kyle Farnung --- deps/chakrashim/include/v8-version.h | 6 +++--- deps/chakrashim/include/v8.h | 1 + deps/chakrashim/src/v8trycatch.cc | 4 ++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/deps/chakrashim/include/v8-version.h b/deps/chakrashim/include/v8-version.h index 2301f219b36..ac423bf90ec 100644 --- a/deps/chakrashim/include/v8-version.h +++ b/deps/chakrashim/include/v8-version.h @@ -9,9 +9,9 @@ // NOTE these macros are used by some of the tool scripts and the build // system so their names cannot be changed without changing the scripts. #define V8_MAJOR_VERSION 5 -#define V8_MINOR_VERSION 7 -#define V8_BUILD_NUMBER 492 -#define V8_PATCH_LEVEL 69 +#define V8_MINOR_VERSION 8 +#define V8_BUILD_NUMBER 283 +#define V8_PATCH_LEVEL 39 // Use 1 for candidates and 0 otherwise. // (Boolean macro values are not supported by all preprocessors.) diff --git a/deps/chakrashim/include/v8.h b/deps/chakrashim/include/v8.h index b5b226681c0..a6dec2d17db 100644 --- a/deps/chakrashim/include/v8.h +++ b/deps/chakrashim/include/v8.h @@ -2728,6 +2728,7 @@ class V8_EXPORT TryCatch { Local Message() const; void Reset(); void SetVerbose(bool value); + bool IsVerbose() const; void SetCaptureMessage(bool value); private: diff --git a/deps/chakrashim/src/v8trycatch.cc b/deps/chakrashim/src/v8trycatch.cc index 77a2dcff7c8..9277ef1b836 100644 --- a/deps/chakrashim/src/v8trycatch.cc +++ b/deps/chakrashim/src/v8trycatch.cc @@ -156,6 +156,10 @@ void TryCatch::SetVerbose(bool value) { this->verbose = value; } +bool TryCatch::IsVerbose() const { + return this->verbose; +} + void TryCatch::CheckReportExternalException() { // Let caller TryCatch record the exception TryCatch* tryCatch = (prev != nullptr && prev->user) ? prev : this;