summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
authorRefael Ackermann <refack@gmail.com>2019-05-22 11:47:16 -0400
committerMichaël Zasso <targos@protonmail.com>2019-06-04 18:45:50 +0200
commitc08d94baef7e2cc307bcd8c7ad84b73c836999af (patch)
treefb1e5bf1dd40664dde1f47763f1d885d2e6cc91a /deps
parent445bb81ab65f7c698437a91959546771a03c0a13 (diff)
downloadandroid-node-v8-c08d94baef7e2cc307bcd8c7ad84b73c836999af.tar.gz
android-node-v8-c08d94baef7e2cc307bcd8c7ad84b73c836999af.tar.bz2
android-node-v8-c08d94baef7e2cc307bcd8c7ad84b73c836999af.zip
deps: V8: forward declaration of `Rtl*FunctionTable`
This should be semver-patch since actual invocation is version conditional. Backport-PR-URL: https://github.com/nodejs/node/pull/28005 PR-URL: https://github.com/nodejs/node/pull/27375 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'deps')
-rw-r--r--deps/v8/src/unwinding-info-win64.cc31
1 files changed, 31 insertions, 0 deletions
diff --git a/deps/v8/src/unwinding-info-win64.cc b/deps/v8/src/unwinding-info-win64.cc
index d551998b52..1f0ee427d2 100644
--- a/deps/v8/src/unwinding-info-win64.cc
+++ b/deps/v8/src/unwinding-info-win64.cc
@@ -10,6 +10,37 @@
#include "src/macro-assembler.h"
#include "src/x64/assembler-x64.h"
+// 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 {