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   

Description Mark Lam 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>
Comment 1 Mark Lam 2022-11-10 16:30:32 PST
Pull request: https://github.com/WebKit/WebKit/pull/6377
Comment 2 EWS 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.