Skip to content

Commit 90588a5

Browse files
refacktargos
authored andcommitted
deps: V8: forward declaration of Rtl*FunctionTable
This should be semver-patch since actual invocation is version conditional. PR-URL: nodejs#27375 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Ujjwal Sharma <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent 05c27d7 commit 90588a5

2 files changed

Lines changed: 32 additions & 1 deletion

File tree

common.gypi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
# Reset this number to 0 on major V8 upgrades.
4141
# Increment by one for each non-official patch applied to deps/v8.
42-
'v8_embedder_string': '-node.5',
42+
'v8_embedder_string': '-node.6',
4343

4444
##### V8 defaults for Node.js #####
4545

deps/v8/src/diagnostics/unwinding-info-win64.cc

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,37 @@
1010
#include "src/codegen/x64/assembler-x64.h"
1111
#include "src/utils/allocation.h"
1212

13+
// Forward declaration to keep this independent of Win8
14+
NTSYSAPI
15+
DWORD
16+
NTAPI
17+
RtlAddGrowableFunctionTable(
18+
_Out_ PVOID* DynamicTable,
19+
_In_reads_(MaximumEntryCount) PRUNTIME_FUNCTION FunctionTable,
20+
_In_ DWORD EntryCount,
21+
_In_ DWORD MaximumEntryCount,
22+
_In_ ULONG_PTR RangeBase,
23+
_In_ ULONG_PTR RangeEnd
24+
);
25+
26+
27+
NTSYSAPI
28+
void
29+
NTAPI
30+
RtlGrowFunctionTable(
31+
_Inout_ PVOID DynamicTable,
32+
_In_ DWORD NewEntryCount
33+
);
34+
35+
36+
NTSYSAPI
37+
void
38+
NTAPI
39+
RtlDeleteGrowableFunctionTable(
40+
_In_ PVOID DynamicTable
41+
);
42+
43+
1344
namespace v8 {
1445
namespace internal {
1546
namespace win64_unwindinfo {

0 commit comments

Comments
 (0)