Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 957a228b92949857664d8a02f418ee2fb8484f0c
      
https://github.com/WebKit/WebKit/commit/957a228b92949857664d8a02f418ee2fb8484f0c
  Author: Keith Miller <keith_mil...@apple.com>
  Date:   2023-10-12 (Thu, 12 Oct 2023)

  Changed paths:
    M Source/JavaScriptCore/b3/B3Type.h

  Log Message:
  -----------
  B3::Type::tupleFromIndex should cast to Type rather than call the constructor
https://bugs.webkit.org/show_bug.cgi?id=263075
rdar://problem/116864571

Reviewed by Justin Michaud.

Right now tupleFromIndex calls the constructor which triggers an assert. 
Instead we should just cast the
encoded TypeKind to a Type.

* Source/JavaScriptCore/b3/B3Type.h:
(JSC::B3::Type::tupleFromIndex):

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to