Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 261bcb42d83f2838cb8245675ffd6e53eebf55bc
      
https://github.com/WebKit/WebKit/commit/261bcb42d83f2838cb8245675ffd6e53eebf55bc
  Author: Keith Miller <[email protected]>
  Date:   2026-08-28 (Fri, 28 Aug 2026)

  Changed paths:
    A JSTests/wasm/stress/delegate-widens-result-type-to-signature.js
    M Source/JavaScriptCore/wasm/WasmFunctionParser.h

  Log Message:
  -----------
  [Wasm] Delegate should widen types like End
https://bugs.webkit.org/show_bug.cgi?id=318755
rdar://181457816

Reviewed by Yusuke Suzuki.

The legacy Delegate wasm bytecode is essentially shorthand for: `Rethrow;
End`. So like other merge points it needs to widen the types on the
expression stack. To help avoid this problem in the future add a new
helper `endBlockAndCheckResultTypes`, which ensures the types are
appropriately widened.

Test: JSTests/wasm/stress/delegate-widens-result-type-to-signature.js

Originally-landed-as: [email protected] (db3010593c27). 
rdar://185366253
Canonical link: https://commits.webkit.org/320048@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to