Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d3343c8e5a974fabc1af6cb1a75741997ff71cb0
https://github.com/WebKit/WebKit/commit/d3343c8e5a974fabc1af6cb1a75741997ff71cb0
Author: Dan Hecht <[email protected]>
Date: 2025-06-23 (Mon, 23 Jun 2025)
Changed paths:
M Source/JavaScriptCore/wasm/WasmBBQJIT.cpp
M Source/JavaScriptCore/wasm/WasmOMGIRGenerator.cpp
M Source/JavaScriptCore/wasm/WasmTypeDefinition.cpp
Log Message:
-----------
[JSC] Wasm GC: Simplify RTT::isStrictSubRTT C++ and JIT code
https://bugs.webkit.org/show_bug.cgi?id=294850
rdar://154099633
Reviewed by Keith Miller.
The special case for parent.displaySize() == 0 is unnecessary because
when parent.displaySize() is 0, then:
1. displaySize() <= parent.displaySize() is always false (since
displaySize() > 0)
2. displaySize() - parent.displaySize() - 1 is equivalent to displaySize() - 1)
Then, we can further simplify since displaySize() check becomes
redundant with displaySize() <= parent.displaySize().
So simplify this code and remove the unnecessary branches.
Canonical link: https://commits.webkit.org/296535@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