Bug 221149

Summary: SourceParseMode should be a member of the JSC::Parser
Product: WebKit Reporter: Keith Miller <keith_miller>
Component: New BugsAssignee: Keith Miller <keith_miller>
Status: RESOLVED FIXED    
Severity: Normal CC: ews-watchlist, mark.lam, msaboff, ross.kirsling, saam, tzagallo, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch for landing none

Description Keith Miller 2021-01-29 12:57:38 PST
SourceParseMode should be a member of the JSC::Parser
Comment 1 Keith Miller 2021-01-29 12:59:51 PST
Created attachment 418762 [details]
Patch
Comment 2 Ross Kirsling 2021-01-29 14:06:57 PST
Comment on attachment 418762 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=418762&action=review

LGTM overall.

> Source/JavaScriptCore/parser/Parser.h:1172
> +    using ParseModeScope = SetForScope<SourceParseMode>;

I think this might be more confusing than helpful.
Comment 3 Keith Miller 2021-01-29 14:15:43 PST
Created attachment 418771 [details]
Patch
Comment 4 Keith Miller 2021-01-29 14:16:57 PST
Created attachment 418772 [details]
Patch for landing
Comment 5 EWS 2021-01-29 16:36:12 PST
Committed r272086: <https://trac.webkit.org/changeset/272086>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 418772 [details].
Comment 6 Radar WebKit Bug Importer 2021-01-29 16:37:13 PST
<rdar://problem/73777391>