Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
chakrashim: Fixed build errors
Browse files Browse the repository at this point in the history
PR-URL: #245
Reviewed-By: Kyle Farnung <[email protected]>
  • Loading branch information
kunalspathak authored and New Name committed May 18, 2017
1 parent 16922b4 commit 75c91ca
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deps/chakrashim/include/v8-version.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.)
Expand Down
1 change: 1 addition & 0 deletions deps/chakrashim/include/v8.h
Original file line number Diff line number Diff line change
Expand Up @@ -2728,6 +2728,7 @@ class V8_EXPORT TryCatch {
Local<v8::Message> Message() const;
void Reset();
void SetVerbose(bool value);
bool IsVerbose() const;
void SetCaptureMessage(bool value);

private:
Expand Down
4 changes: 4 additions & 0 deletions deps/chakrashim/src/v8trycatch.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 75c91ca

Please sign in to comment.