Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e6fd50a3da8403cf38fa2d44745fd770783cff38
https://github.com/WebKit/WebKit/commit/e6fd50a3da8403cf38fa2d44745fd770783cff38
Author: Keith Miller <[email protected]>
Date: 2026-07-12 (Sun, 12 Jul 2026)
Changed paths:
A JSTests/stress/regexp-string-iterator-next-wrong-receiver.js
M Source/JavaScriptCore/dfg/DFGSpeculativeJIT64.cpp
M Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp
Log Message:
-----------
RegExpStringIterator next can't use SpecObjectOther type check filtering
https://bugs.webkit.org/show_bug.cgi?id=318142
rdar://180958970
Reviewed by Yusuke Suzuki.
SpecObjectOther type filtering is too wide for the assumptions of the
operationRegExpStringIteratorNext operation. Since DFG/FTL_TYPE_CHECK
use the speculated type as equivalent to the runtime check this causes
us to skip a type check. This allows any object to flow into the
operationRegExpStringIteratorNext call.
Test: JSTests/stress/regexp-string-iterator-next-wrong-receiver.js
Canonical link: https://commits.webkit.org/316994@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications