Bug 247770

Summary: Change the value of scriptCodeLimit to placate a strange Clang quirk.
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: Web Template FrameworkAssignee: Mark Lam <mark.lam>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Mark Lam
Reported 2022-11-10 16:24:25 PST
Some versions of Clang appear to think that scriptCodeLimit should fit in a signed 9-bit integer, which is crazy. For our purposes, a value of 255 works just as well. So, we're changing scriptCodeLimit to be 255 instead of 256 to workaround this Clang quirk. <rdar://problem/102115540>
Attachments
Mark Lam
Comment 1 2022-11-10 16:30:32 PST
EWS
Comment 2 2022-11-10 18:32:06 PST
Committed 256560@main (06f9978e52a8): <https://commits.webkit.org/256560@main> Reviewed commits have been landed. Closing PR #6377 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.