diff --git a/common.gypi b/common.gypi index 0b1e3d893276c0..93c3f6b8879c93 100644 --- a/common.gypi +++ b/common.gypi @@ -36,7 +36,7 @@ # Reset this number to 0 on major V8 upgrades. # Increment by one for each non-official patch applied to deps/v8. - 'v8_embedder_string': '-node.9', + 'v8_embedder_string': '-node.10', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/src/parsing/parser.h b/deps/v8/src/parsing/parser.h index c5cc0c8030781c..5699148c3b3575 100644 --- a/deps/v8/src/parsing/parser.h +++ b/deps/v8/src/parsing/parser.h @@ -709,6 +709,13 @@ class V8_EXPORT_PRIVATE Parser : public NON_EXPORTED_BASE(ParserBase) { return arg; } + const AstRawString* PreParserIdentifierToAstRawString( + const PreParserIdentifier& arg) { + // This method definition is only needed due to an MSVC oddity that + // instantiates the method despite it being unused. See crbug.com/v8/12266 . + UNREACHABLE(); + } + IterationStatement* AsIterationStatement(BreakableStatement* s) { return s->AsIterationStatement(); }