summaryrefslogtreecommitdiff
path: root/deps/v8/src
diff options
context:
space:
mode:
authorRefael Ackermann <refack@gmail.com>2019-05-22 11:47:16 -0400
committerMichaël Zasso <targos@protonmail.com>2022-01-20 10:39:12 +0100
commitc465ba572a6c1732429c53d4934a59f4b48f191a (patch)
tree88103a49145a6e31e14add68bd3ea045a31210ad /deps/v8/src
parent0a9c63e0165d5949db6afb8ef7cc9ae5513a4ee1 (diff)
downloadnode-new-c465ba572a6c1732429c53d4934a59f4b48f191a.tar.gz
deps: V8: forward declaration of `Rtl*FunctionTable`
This should be semver-patch since actual invocation is version conditional. PR-URL: https://github.com/nodejs/node/pull/32116 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'deps/v8/src')
-rw-r--r--deps/v8/src/diagnostics/unwinding-info-win64.cc30
1 files changed, 30 insertions, 0 deletions
diff --git a/deps/v8/src/diagnostics/unwinding-info-win64.cc b/deps/v8/src/diagnostics/unwinding-info-win64.cc
index d50767421a..2a0cf4ff02 100644
--- a/deps/v8/src/diagnostics/unwinding-info-win64.cc
+++ b/deps/v8/src/diagnostics/unwinding-info-win64.cc
@@ -22,6 +22,36 @@
// This has to come after windows.h.
#include <versionhelpers.h> // 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 {