diff options
author | Refael Ackermann <refack@gmail.com> | 2019-05-22 11:47:16 -0400 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2019-08-01 12:55:57 +0200 |
commit | 90588a5ed2e40465f46babfc52d9d5195d186efe (patch) | |
tree | 7817b57664bd2debe43ea38c3cb55864743d8d8d /deps/v8/src | |
parent | 05c27d7f140f2353ff1623a358e9931fcba785d3 (diff) | |
download | android-node-v8-90588a5ed2e40465f46babfc52d9d5195d186efe.tar.gz android-node-v8-90588a5ed2e40465f46babfc52d9d5195d186efe.tar.bz2 android-node-v8-90588a5ed2e40465f46babfc52d9d5195d186efe.zip |
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/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/v8/src')
-rw-r--r-- | deps/v8/src/diagnostics/unwinding-info-win64.cc | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/deps/v8/src/diagnostics/unwinding-info-win64.cc b/deps/v8/src/diagnostics/unwinding-info-win64.cc index 8fb01dba9a..096ffa2d48 100644 --- a/deps/v8/src/diagnostics/unwinding-info-win64.cc +++ b/deps/v8/src/diagnostics/unwinding-info-win64.cc @@ -10,6 +10,37 @@ #include "src/codegen/x64/assembler-x64.h" #include "src/utils/allocation.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 { |