Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0f0de8f2a05829881df46dc2ac7e2799da0696ce
https://github.com/WebKit/WebKit/commit/0f0de8f2a05829881df46dc2ac7e2799da0696ce
Author: Anand Srinivasan <[email protected]>
Date: 2026-07-01 (Wed, 01 Jul 2026)
Changed paths:
A JSTests/wasm/stress/streaming-compile-try-table-agreement.js
M Source/JavaScriptCore/wasm/WasmEntryPlan.cpp
M Source/JavaScriptCore/wasm/WasmEntryPlan.h
M Source/JavaScriptCore/wasm/WasmIPIntPlan.cpp
Log Message:
-----------
Streaming compiler does not reject mixed legacy and spec-correct EH
https://bugs.webkit.org/show_bug.cgi?id=315365
rdar://177030377
Reviewed by Yijia Huang.
Legacy EH instructions are not defined in the wasm spec but are still
supported for backwards compatibility. Functions must either use legacy
or standards compliant EH instructions but not both, and the streaming
compiler needs to be updated to enforce this.
Test: JSTests/wasm/stress/streaming-compile-try-table-agreement.js
* JSTests/wasm/stress/streaming-compile-try-table-agreement.js: Added.
(compileNonStreaming):
(async compileStreaming):
(async main):
* Source/JavaScriptCore/wasm/WasmEntryPlan.cpp:
(JSC::Wasm::EntryPlan::compileFunctions):
(JSC::Wasm::EntryPlan::failIfMixedExceptionHandlingProposals):
* Source/JavaScriptCore/wasm/WasmEntryPlan.h:
* Source/JavaScriptCore/wasm/WasmIPIntPlan.cpp:
(JSC::Wasm::IPIntPlan::completeInStreaming):
* Source/JavaScriptCore/wasm/WasmIPIntSlowPaths.cpp:
(JSC::IPInt::rethrowSlotForDepth):
(JSC::IPInt::WASM_IPINT_EXTERN_CPP_DECL):
* Source/JavaScriptCore/wasm/WasmIPIntSlowPaths.h:
Originally-landed-as: 305413.963@safari-7624-branch (55fe8eb4c2a9).
rdar://180437856
Canonical link: https://commits.webkit.org/316259@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications