Skip to content

Commit 54aaeee

Browse files
committed
deps: make V8 14.2 ABI-compatible with 14.1
- Reintroduce `WasmJSPIEnabledCallback` as noop Refs: v8/v8@613c043
1 parent 752e4d0 commit 54aaeee

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

deps/v8/include/v8-callbacks.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,9 @@ using WasmCustomDescriptorsEnabledCallback = bool (*)(Local<Context> context);
331331
using SharedArrayBufferConstructorEnabledCallback =
332332
bool (*)(Local<Context> context);
333333

334+
// --- Callback for checking if WebAssembly JSPI is enabled ---
335+
using WasmJSPIEnabledCallback = bool (*)(Local<Context> context);
336+
334337
/**
335338
* Import phases in import requests.
336339
*/

deps/v8/include/v8-isolate.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1717,6 +1717,8 @@ class V8_EXPORT Isolate {
17171717
void SetSharedArrayBufferConstructorEnabledCallback(
17181718
SharedArrayBufferConstructorEnabledCallback callback);
17191719

1720+
void SetWasmJSPIEnabledCallback(WasmJSPIEnabledCallback callback) {}
1721+
17201722
/**
17211723
* This function can be called by the embedder to signal V8 that the dynamic
17221724
* enabling of features has finished. V8 can now set up dynamically added

0 commit comments

Comments
 (0)