diff --git a/common.gypi b/common.gypi index 18e00193ffb924..1e5919afbe8c5e 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(); }