diff --git a/common.gypi b/common.gypi index 162e549e980..88e26799d8b 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.17', + 'v8_embedder_string': '-node.18', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/AUTHORS b/deps/v8/AUTHORS index 331de3a3923..0b440374225 100644 --- a/deps/v8/AUTHORS +++ b/deps/v8/AUTHORS @@ -295,6 +295,7 @@ Seo Sanghyeon Sergey Markelov Shawn Anastasio Shawn Presser +Shelley Vohr Sho Miyamoto Shumaf Lovpache Stefan Penner diff --git a/deps/v8/include/cppgc/heap.h b/deps/v8/include/cppgc/heap.h index 2968a0af197..77673be7d73 100644 --- a/deps/v8/include/cppgc/heap.h +++ b/deps/v8/include/cppgc/heap.h @@ -15,6 +15,10 @@ #include "cppgc/platform.h" #include "v8config.h" // NOLINT(build/include_directory) +#if V8_CC_MSVC +#include // _AddressOfReturnAddress() +#endif + /** * cppgc - A C++ garbage collection library. */ @@ -37,7 +41,11 @@ class Heap; */ class V8_EXPORT StackStartMarker { public: +#if V8_CC_MSVC + StackStartMarker() : stack_start_(_AddressOfReturnAddress()) {} +#else StackStartMarker() : stack_start_(__builtin_frame_address(0)) {} +#endif void* stack_start() const { return stack_start_; } private: