diff --git a/common.gypi b/common.gypi index 18f60c1435c6ef..625492bd379db4 100644 --- a/common.gypi +++ b/common.gypi @@ -37,7 +37,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.7', + 'v8_embedder_string': '-node.8', ##### V8 defaults for Node.js ##### @@ -286,7 +286,10 @@ 'VCCLCompilerTool': { 'AdditionalOptions': [ '/Zc:__cplusplus', - '-std:c++17' + # The following option fixes/reduces the "error C1060: compiler is out of heap space" + '/Zm2000', + # The following option enables c++20 on Windows. This is needed for V8 v12.4+ + '-std:c++20' ], 'BufferSecurityCheck': 'true', 'DebugInformationFormat': 1, # /Z7 embed info in .obj files diff --git a/deps/v8/src/codegen/compiler.cc b/deps/v8/src/codegen/compiler.cc index a2984d393169a3..49afab11b6c6e4 100644 --- a/deps/v8/src/codegen/compiler.cc +++ b/deps/v8/src/codegen/compiler.cc @@ -1720,10 +1720,8 @@ BackgroundCompileTask::BackgroundCompileTask( BackgroundCompileTask::~BackgroundCompileTask() = default; -namespace { - void SetScriptFieldsFromDetails(Isolate* isolate, Tagged