Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 65ef7f38f8f9195dd239b1cd46b98e4b0a8b6a12
      
https://github.com/WebKit/WebKit/commit/65ef7f38f8f9195dd239b1cd46b98e4b0a8b6a12
  Author: Anand Srinivasan <[email protected]>
  Date:   2026-09-01 (Tue, 01 Sep 2026)

  Changed paths:
    A JSTests/stress/b3-ccmp-chain.js
    M Source/JavaScriptCore/b3/B3LowerToAir.cpp
    M Source/JavaScriptCore/b3/testb3.h
    M Source/JavaScriptCore/b3/testb3_1.cpp
    M Source/JavaScriptCore/b3/testb3_8.cpp

  Log Message:
  -----------
  Make B3 ccmp chain matcher use RAII
https://bugs.webkit.org/show_bug.cgi?id=315389
rdar://176792415

Reviewed by Keith Miller.

B3 ccmp chain matcher needs to roll back if a given pattern match fails
part way through. RAII is a more principled and less error prone way to
handle this.

Test: JSTests/stress/b3-ccmp-chain.js

* JSTests/stress/b3-ccmp-chain.js: Added.
(f):
(f_legit_chain):
* Source/JavaScriptCore/b3/B3LowerToAir.cpp:
* Source/JavaScriptCore/b3/testb3.h:
* Source/JavaScriptCore/b3/testb3_1.cpp:
(run):
* Source/JavaScriptCore/b3/testb3_8.cpp:
(testCCmpChainRollback):

Originally-landed-as: [email protected] (7e01f14f8eb7). 
rdar://185367009
Canonical link: https://commits.webkit.org/320274@main



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

Reply via email to