diff options
author | Ali Ijaz Sheikh <ofrobots@google.com> | 2015-08-23 06:09:40 -0700 |
---|---|---|
committer | Rod Vagg <rod@vagg.org> | 2015-09-06 21:38:01 +1000 |
commit | 9fddd83cf9adf505bce2e2373881df0c4d41b261 (patch) | |
tree | 4272ce14c10fea496af2e78fc6debb187d613451 /deps/v8/src/pending-compilation-error-handler.h | |
parent | 46b7d151674d138e7ea4342d5f3ada1208b87ff2 (diff) | |
download | android-node-v8-9fddd83cf9adf505bce2e2373881df0c4d41b261.tar.gz android-node-v8-9fddd83cf9adf505bce2e2373881df0c4d41b261.tar.bz2 android-node-v8-9fddd83cf9adf505bce2e2373881df0c4d41b261.zip |
deps: upgrade V8 to 4.5.103.24
Upgrade to the latest branch-head for V8 4.5. For the full commit log see
https://github.com/v8/v8-git-mirror/commits/4.5.103.24
PR-URL: https://github.com/nodejs/node/pull/2509
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'deps/v8/src/pending-compilation-error-handler.h')
-rw-r--r-- | deps/v8/src/pending-compilation-error-handler.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/deps/v8/src/pending-compilation-error-handler.h b/deps/v8/src/pending-compilation-error-handler.h index c75f23d039..6190d49f52 100644 --- a/deps/v8/src/pending-compilation-error-handler.h +++ b/deps/v8/src/pending-compilation-error-handler.h @@ -8,6 +8,7 @@ #include "src/base/macros.h" #include "src/globals.h" #include "src/handles.h" +#include "src/messages.h" namespace v8 { namespace internal { @@ -24,13 +25,14 @@ class PendingCompilationErrorHandler { : has_pending_error_(false), start_position_(-1), end_position_(-1), - message_(nullptr), + message_(MessageTemplate::kNone), arg_(nullptr), char_arg_(nullptr), error_type_(kSyntaxError) {} void ReportMessageAt(int start_position, int end_position, - const char* message, const char* arg = nullptr, + MessageTemplate::Template message, + const char* arg = nullptr, ParseErrorType error_type = kSyntaxError) { if (has_pending_error_) return; has_pending_error_ = true; @@ -43,7 +45,8 @@ class PendingCompilationErrorHandler { } void ReportMessageAt(int start_position, int end_position, - const char* message, const AstRawString* arg, + MessageTemplate::Template message, + const AstRawString* arg, ParseErrorType error_type = kSyntaxError) { if (has_pending_error_) return; has_pending_error_ = true; @@ -56,7 +59,7 @@ class PendingCompilationErrorHandler { } void ReportMessageAt(int start_position, int end_position, - const char* message, Handle<String> arg, + MessageTemplate::Template message, Handle<String> arg, ParseErrorType error_type = kSyntaxError) { if (has_pending_error_) return; has_pending_error_ = true; @@ -77,7 +80,7 @@ class PendingCompilationErrorHandler { bool has_pending_error_; int start_position_; int end_position_; - const char* message_; + MessageTemplate::Template message_; const AstRawString* arg_; const char* char_arg_; Handle<String> handle_arg_; |