diff options
author | Refael Ackermann <refack@gmail.com> | 2019-05-22 18:47:16 +0300 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2020-10-18 21:17:05 +0300 |
commit | ebbb038c457aa3517643236c62d3b37a6c6560a1 (patch) | |
tree | ebcfe83450af8c137b9824e32e5a7c76960d319a | |
parent | 046c6fb56f9899ca06c4699bb4da9ebd84a286c8 (diff) |
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>
-rw-r--r-- | common.gypi | 2 | ||||
-rw-r--r-- | deps/v8/src/diagnostics/unwinding-info-win64.cc | 31 |
2 files changed, 32 insertions, 1 deletions
diff --git a/common.gypi b/common.gypi index 251da62453c..e7e83c71fef 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.3', + 'v8_embedder_string': '-node.4', ##### 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 f3b9a753aff..c39adcf7108 100644 --- a/deps/v8/src/diagnostics/unwinding-info-win64.cc +++ b/deps/v8/src/diagnostics/unwinding-info-win64.cc @@ -16,6 +16,37 @@ #error "Unsupported OS" #endif // V8_OS_WIN_X64 +// 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 { |