Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f2335ec63ebd5451792e93777368f5b8db83de0d
      
https://github.com/WebKit/WebKit/commit/f2335ec63ebd5451792e93777368f5b8db83de0d
  Author: Yusuke Suzuki <[email protected]>
  Date:   2025-09-23 (Tue, 23 Sep 2025)

  Changed paths:
    M Source/JavaScriptCore/b3/B3Value.cpp
    M Source/JavaScriptCore/b3/B3ValueKey.cpp
    M Source/JavaScriptCore/b3/B3ValueKey.h
    M Source/JavaScriptCore/b3/B3ValueKeyInlines.h

  Log Message:
  -----------
  [JSC] Add all B3 opcodes in B3::Value::key switch
https://bugs.webkit.org/show_bug.cgi?id=299354
rdar://problem/161145916

Reviewed by Yijia Huang and Justin Michaud.

List all B3 opcodes in B3::Value::key switch so that we can ensure new
B3 opcodes are always added properly to this list. We also found several
missing handlings for opcodes (GreaterEqual etc.)
Note that this patch fixes B3::ValueKey::materialize. But this does not
matter much in practice since only Constant Value case is used right
now, and Constant values are correctly implemented.

* Source/JavaScriptCore/b3/B3Value.cpp:
(JSC::B3::Value::key const):
* Source/JavaScriptCore/b3/B3ValueKey.cpp:
(JSC::B3::ValueKey::materialize const):
* Source/JavaScriptCore/b3/B3ValueKey.h:
* Source/JavaScriptCore/b3/B3ValueKeyInlines.h:
(JSC::B3::ValueKey::ValueKey):
(JSC::B3::ValueKey::child const):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to