[webkit-changes] [WebKit/WebKit] 5619ce: Fix IPInt br_on_null popping too many values from ...

Commit Queue noreply at github.com
Wed Jan 15 16:13:22 PST 2025


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

  Changed paths:
    M JSTests/wasm/function-references/br_on_null.js
    M Source/JavaScriptCore/wasm/WasmIPIntGenerator.cpp

  Log Message:
  -----------
  Fix IPInt br_on_null popping too many values from the stack
https://bugs.webkit.org/show_bug.cgi?id=286017
rdar://142889611

Reviewed by Yijia Huang and Yusuke Suzuki.

IPInt's br_on_null previously would pop an extra value from the stack if a branch
was taken, since the null would be popped both in the opcode and during the branch.

* Source/JavaScriptCore/wasm/WasmIPIntGenerator.cpp:
(JSC::Wasm::IPIntGenerator::addBranchNull):

Canonical link: https://commits.webkit.org/288975@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