[webkit-changes] [WebKit/WebKit] 957a22: B3::Type::tupleFromIndex should cast to Type rathe...
Keith Miller
noreply at github.com
Thu Oct 12 08:52:03 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 957a228b92949857664d8a02f418ee2fb8484f0c
https://github.com/WebKit/WebKit/commit/957a228b92949857664d8a02f418ee2fb8484f0c
Author: Keith Miller <keith_miller at 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
More information about the webkit-changes
mailing list