diff --git a/common.gypi b/common.gypi index 5586cbce856..e70270a793b 100644 --- a/common.gypi +++ b/common.gypi @@ -44,7 +44,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.8', + 'v8_embedder_string': '-node.9', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/include/v8-context.h b/deps/v8/include/v8-context.h index 02b6f5c855d..6608be2d621 100644 --- a/deps/v8/include/v8-context.h +++ b/deps/v8/include/v8-context.h @@ -7,14 +7,15 @@ #include +#include #include #include "cppgc/type-traits.h" // NOLINT(build/include_directory) -#include "v8-data.h" // NOLINT(build/include_directory) -#include "v8-local-handle.h" // NOLINT(build/include_directory) -#include "v8-maybe.h" // NOLINT(build/include_directory) -#include "v8-snapshot.h" // NOLINT(build/include_directory) -#include "v8config.h" // NOLINT(build/include_directory) +#include "v8-data.h" // NOLINT(build/include_directory) +#include "v8-local-handle.h" // NOLINT(build/include_directory) +#include "v8-maybe.h" // NOLINT(build/include_directory) +#include "v8-snapshot.h" // NOLINT(build/include_directory) +#include "v8config.h" // NOLINT(build/include_directory) namespace v8 { @@ -328,7 +329,7 @@ class V8_EXPORT Context : public Data { EmbedderDataTypeTag tag); template - requires cppgc::IsGarbageCollectedTypeV + requires(!std::is_void_v) && cppgc::IsGarbageCollectedTypeV void SetAlignedPointerInEmbedderData(int index, T* value, CppHeapPointerTag tag) { SetAlignedPointerInEmbedderDataInternal(index, static_cast(value),