diff options
author | Michaël Zasso <targos@protonmail.com> | 2021-10-10 11:10:43 +0200 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2021-10-12 08:07:50 +0200 |
commit | 62719c5fd2ab7dee1ac4019c1715061d556ac457 (patch) | |
tree | 356fed3842e577ab58fd51d5cc02f071cf7ee216 /deps/v8/src/parsing/parser.h | |
parent | a784258444b052dfd31cca90db57b21dc38bb1eb (diff) | |
download | node-new-62719c5fd2ab7dee1ac4019c1715061d556ac457.tar.gz |
deps: update V8 to 9.5.172.19
PR-URL: https://github.com/nodejs/node/pull/40178
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'deps/v8/src/parsing/parser.h')
-rw-r--r-- | deps/v8/src/parsing/parser.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/deps/v8/src/parsing/parser.h b/deps/v8/src/parsing/parser.h index 6b50ed134c..c5cc0c8030 100644 --- a/deps/v8/src/parsing/parser.h +++ b/deps/v8/src/parsing/parser.h @@ -701,25 +701,10 @@ class V8_EXPORT_PRIVATE Parser : public NON_EXPORTED_BASE(ParserBase<Parser>) { return NewThrowError(Runtime::kNewTypeError, message, arg, pos); } - // Reporting errors. - void ReportMessageAt(Scanner::Location source_location, - MessageTemplate message, const char* arg = nullptr) { - pending_error_handler()->ReportMessageAt( - source_location.beg_pos, source_location.end_pos, message, arg); - scanner_.set_parser_error(); - } - // Dummy implementation. The parser should never have a unidentifiable // error. V8_INLINE void ReportUnidentifiableError() { UNREACHABLE(); } - void ReportMessageAt(Scanner::Location source_location, - MessageTemplate message, const AstRawString* arg) { - pending_error_handler()->ReportMessageAt( - source_location.beg_pos, source_location.end_pos, message, arg); - scanner_.set_parser_error(); - } - const AstRawString* GetRawNameFromIdentifier(const AstRawString* arg) { return arg; } |