[webkit-changes] [WebKit/WebKit] 2b8c7e: IPInt->BBQ OSR should count exceptions in try blocks

Commit Queue noreply at github.com
Wed Jan 8 13:49:34 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2b8c7ef00c7f7ef902519128a8e915a4c6a26488
      https://github.com/WebKit/WebKit/commit/2b8c7ef00c7f7ef902519128a8e915a4c6a26488
  Author: Daniel Liu <daniel_liu4 at apple.com>
  Date:   2025-01-08 (Wed, 08 Jan 2025)

  Changed paths:
    A JSTests/wasm/stress/bbq-osr-with-exceptions.js
    M Source/JavaScriptCore/wasm/WasmBBQJIT.cpp

  Log Message:
  -----------
  IPInt->BBQ OSR should count exceptions in try blocks
https://bugs.webkit.org/show_bug.cgi?id=285624
rdar://142475036

Reviewed by Yusuke Suzuki.

When setting up our stack map, BBQ did not consider try clauses, meaning that we
would not allocate enough space for the rethrow slots in IPInt.

* JSTests/wasm/stress/bbq-osr-with-exceptions.js: Added.
(instantiate):
(async let):
* Source/JavaScriptCore/wasm/WasmBBQJIT.cpp:
(JSC::Wasm::BBQJITImpl::ControlData::implicitSlots const):
(JSC::Wasm::BBQJITImpl::BBQJIT::exception):

Canonical link: https://commits.webkit.org/288612@main



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


More information about the webkit-changes mailing list