In https://trac.webkit.org/r266776, I added OptionSet::set. Following some discussion in https://bugs.webkit.org/show_bug.cgi?id=216305#c6, we can see that a simpler variant which uses a branch produces the same assembly in x86_64 and arm64 with -O3. So just use a simpler code since it's easier to read.
Created attachment 408390 [details] Patch
Comment on attachment 408390 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=408390&action=review > Source/WTF/ChangeLog:3 > + Simply OptionSet::set Did you mean to write "Simplify"?
(In reply to Said Abou-Hallawa from comment #2) > Comment on attachment 408390 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=408390&action=review > > > Source/WTF/ChangeLog:3 > > + Simply OptionSet::set > > Did you mean to write "Simplify"? Oops, indeed.
Committed r266812: <https://trac.webkit.org/changeset/266812>
<rdar://problem/68615785>