Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a5b9946d0662b8cafe8dbbd13c62c28e7eb93e21
      
https://github.com/WebKit/WebKit/commit/a5b9946d0662b8cafe8dbbd13c62c28e7eb93e21
  Author: Yijia Huang <[email protected]>
  Date:   2026-05-01 (Fri, 01 May 2026)

  Changed paths:
    M JSTests/wasm/debugger/resources/wasm/trap-out-of-bounds-call-indirect.js
    M JSTests/wasm/debugger/tests/tests.py

  Log Message:
  -----------
  [JSC][WASM][Debugger] Update call_indirect trap test for corrected PC 
reporting
https://bugs.webkit.org/show_bug.cgi?id=313852
rdar://176052939

Reviewed by Yusuke Suzuki.

714bf5b ("Delay PC advancement until after operationCallMayThrow in IPInt")
moved advancePCByReg past operationCallMayThrow for call_indirect, which
changed the trap PC from 0x34 (drop — the post-advanced address) to 0x31
(call_indirect — the trapping instruction itself). This is correct behavior:
the debugger now shows the instruction that actually faulted.

Update WasmOutOfBoundsCallIndirectTrapTestCase and the resource file comment
to reflect the new addresses.

Pure test change, no new behavior added.

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



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

Reply via email to