From c6c18a9a246e98933787e54a9a536fadf0969e1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Tue, 25 Oct 2022 07:58:35 +0200 Subject: [PATCH] Revert "deps: V8: forward declaration of `Rtl*FunctionTable`" This reverts commit 01bc8e6fd81314e76c7fb0d09e5310f609e48bee. PR-URL: https://github.com/nodejs/node/pull/45119 Refs: https://github.com/nodejs/node/issues/45118 Reviewed-By: Jiawen Geng Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Darshan Sen --- common.gypi | 2 +- .../src/diagnostics/unwinding-info-win64.cc | 30 ------------------- 2 files changed, 1 insertion(+), 31 deletions(-) diff --git a/common.gypi b/common.gypi index 00f545ba6aa..169f7da9c41 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.16', + 'v8_embedder_string': '-node.17', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/src/diagnostics/unwinding-info-win64.cc b/deps/v8/src/diagnostics/unwinding-info-win64.cc index e7cc6d0a4b6..37f02cbf1d2 100644 --- a/deps/v8/src/diagnostics/unwinding-info-win64.cc +++ b/deps/v8/src/diagnostics/unwinding-info-win64.cc @@ -21,36 +21,6 @@ // This has to come after windows.h. #include // For IsWindows8OrGreater(). -// Forward declaration to keep this independent of Win8 -NTSYSAPI -DWORD -NTAPI -RtlAddGrowableFunctionTable( - _Out_ PVOID* DynamicTable, - _In_reads_(MaximumEntryCount) PRUNTIME_FUNCTION FunctionTable, - _In_ DWORD EntryCount, - _In_ DWORD MaximumEntryCount, - _In_ ULONG_PTR RangeBase, - _In_ ULONG_PTR RangeEnd - ); - - -NTSYSAPI -void -NTAPI -RtlGrowFunctionTable( - _Inout_ PVOID DynamicTable, - _In_ DWORD NewEntryCount - ); - - -NTSYSAPI -void -NTAPI -RtlDeleteGrowableFunctionTable( - _In_ PVOID DynamicTable - ); - namespace v8 { namespace internal { namespace win64_unwindinfo {