Skip to content

Commit 752e4d0

Browse files
committed
deps: make V8 14.2 ABI-compatible with 14.1
- Reintroduce `WasmImportedStringsEnabledCallback` as noop Refs: v8/v8@17e54fe
1 parent ae67a70 commit 752e4d0

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

deps/v8/include/v8-callbacks.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,9 @@ using WasmAsyncResolvePromiseCallback = void (*)(
321321
using WasmLoadSourceMapCallback = Local<String> (*)(Isolate* isolate,
322322
const char* name);
323323

324+
// --- Callback for checking if WebAssembly imported strings are enabled ---
325+
using WasmImportedStringsEnabledCallback = bool (*)(Local<Context> context);
326+
324327
// --- Callback for checking if WebAssembly Custom Descriptors are enabled ---
325328
using WasmCustomDescriptorsEnabledCallback = bool (*)(Local<Context> context);
326329

deps/v8/include/v8-isolate.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1708,6 +1708,9 @@ class V8_EXPORT Isolate {
17081708

17091709
void SetWasmLoadSourceMapCallback(WasmLoadSourceMapCallback callback);
17101710

1711+
void SetWasmImportedStringsEnabledCallback(
1712+
WasmImportedStringsEnabledCallback callback) {}
1713+
17111714
void SetWasmCustomDescriptorsEnabledCallback(
17121715
WasmCustomDescriptorsEnabledCallback callback);
17131716

0 commit comments

Comments
 (0)