Skip to content

Commit 74b623b

Browse files
refacktargos
authored andcommitted
deps: V8: forward declaration of Rtl*FunctionTable
This should be semver-patch since actual invocation is version conditional. Backport-PR-URL: #33376 PR-URL: #32831 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 0f5764a commit 74b623b

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
@@ -36,7 +36,7 @@
3636

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

4141
##### V8 defaults for Node.js #####
4242

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)