Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6d057b78639f6b8b413c1593dfc5c686e64fad16
https://github.com/WebKit/WebKit/commit/6d057b78639f6b8b413c1593dfc5c686e64fad16
Author: Kimmo Kinnunen <[email protected]>
Date: 2026-07-01 (Wed, 01 Jul 2026)
Changed paths:
M
Source/ThirdParty/ANGLE/src/compiler/translator/tree_ops/msl/EnsureLoopForwardProgress.cpp
M Source/ThirdParty/ANGLE/src/tests/gl_tests/GLSLOutputTest.cpp
Log Message:
-----------
ANGLE: EnsureLoopForwardProgress misses nested loop inititializers,
expressions
https://bugs.webkit.org/show_bug.cgi?id=312970
rdar://174740081
Reviewed by Dan Glastonbury.
Nested loops would not be categorized as potentially infinite if the
write to the condition variable happened inside the loop initializer,
condition or expression.
Also, loops would not be categorized as potentially infinite if the
expression was a simple function call.
Fix first by traversing the loop initializer, condition and expression.
Fix the second by adding the missing case for all unhandled patterns
in the expression to mark the loop as potentially infinite.
* Source/ThirdParty/ANGLE/ANGLE.xcodeproj/project.pbxproj:
* Source/ThirdParty/ANGLE/Configurations/utils.xcconfig:
*
Source/ThirdParty/ANGLE/src/compiler/translator/tree_ops/msl/EnsureLoopForwardProgress.cpp:
* Source/ThirdParty/ANGLE/src/tests/gl_tests/GLSLOutputTest.cpp:
Originally-landed-as: 305413.720@safari-7624-branch (58b3c28331a0).
rdar://180429427
Canonical link: https://commits.webkit.org/316248@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications