Bug 188557

Summary: [DFG] DFGPredictionPropagation should set PrimaryPass when processing invariants
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: New BugsAssignee: Yusuke Suzuki <ysuzuki>
Status: RESOLVED FIXED    
Severity: Normal CC: ews-watchlist, fpizlo, keith_miller, mark.lam, msaboff, saam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch mark.lam: review+

Description Yusuke Suzuki 2018-08-14 09:43:58 PDT
[DFG] DFGPredictionPropagation should set PrimaryPass when processing invariants
Comment 1 Yusuke Suzuki 2018-08-14 09:45:31 PDT
Created attachment 347082 [details]
Patch
Comment 2 Mark Lam 2018-08-14 10:18:07 PDT
Comment on attachment 347082 [details]
Patch

r=me.  Should we also specify an initializer for m_pass { PrimaryPass } (just to be pedantic)?
Comment 3 Yusuke Suzuki 2018-08-14 10:19:53 PDT
(In reply to Mark Lam from comment #2)
> Comment on attachment 347082 [details]
> Patch
> 
> r=me.  Should we also specify an initializer for m_pass { PrimaryPass }
> (just to be pedantic)?

It sounds nice. I would like to keep both (initializer and `m_pass = PrimaryPass`). Since the latter offers good readability of PredictionPropagationPhase::run function.
Comment 4 Yusuke Suzuki 2018-08-14 10:23:57 PDT
Committed r234853: <https://trac.webkit.org/changeset/234853>
Comment 5 Radar WebKit Bug Importer 2018-08-14 10:24:16 PDT
<rdar://problem/43292220>