Skip to content

Commit 9e20ea5

Browse files
refacknodejs-ci
authored andcommitted
deps: V8: forward declaration of Rtl*FunctionTable
This should be semver-patch since actual invocation is version conditional. PR-URL: nodejs/node#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 b690141 commit 9e20ea5

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

common.gypi

+1-1
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.6',
42+
'v8_embedder_string': '-node.7',
4343

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

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

+31
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,37 @@
1616
#error "Unsupported OS"
1717
#endif // V8_OS_WIN_X64
1818

19+
// Forward declaration to keep this independent of Win8
20+
NTSYSAPI
21+
DWORD
22+
NTAPI
23+
RtlAddGrowableFunctionTable(
24+
_Out_ PVOID* DynamicTable,
25+
_In_reads_(MaximumEntryCount) PRUNTIME_FUNCTION FunctionTable,
26+
_In_ DWORD EntryCount,
27+
_In_ DWORD MaximumEntryCount,
28+
_In_ ULONG_PTR RangeBase,
29+
_In_ ULONG_PTR RangeEnd
30+
);
31+
32+
33+
NTSYSAPI
34+
void
35+
NTAPI
36+
RtlGrowFunctionTable(
37+
_Inout_ PVOID DynamicTable,
38+
_In_ DWORD NewEntryCount
39+
);
40+
41+
42+
NTSYSAPI
43+
void
44+
NTAPI
45+
RtlDeleteGrowableFunctionTable(
46+
_In_ PVOID DynamicTable
47+
);
48+
49+
1950
namespace v8 {
2051
namespace internal {
2152
namespace win64_unwindinfo {

0 commit comments

Comments
 (0)