Bug 180208

Summary: [JSC] Remove easy toRemove & map.remove() use in OAS phase
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: New BugsAssignee: Yusuke Suzuki <ysuzuki>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, cdumez, cmarcelo, commit-queue, dbates, ews-watchlist, fpizlo, keith_miller, mark.lam, msaboff, saam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 180225    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Patch none

Description Yusuke Suzuki 2017-11-30 11:17:04 PST
[JSC] Remove easy toRemove & map.remove() use
Comment 1 Yusuke Suzuki 2017-11-30 11:19:15 PST
Created attachment 327997 [details]
Patch
Comment 2 Mark Lam 2017-11-30 15:30:41 PST
Comment on attachment 327997 [details]
Patch

r=me
Comment 3 Yusuke Suzuki 2017-11-30 15:44:30 PST
Committed r225362: <https://trac.webkit.org/changeset/225362>
Comment 4 Radar WebKit Bug Importer 2017-11-30 15:45:34 PST
<rdar://problem/35784818>
Comment 5 WebKit Commit Bot 2017-11-30 16:11:59 PST
Re-opened since this is blocked by bug 180225
Comment 6 Yusuke Suzuki 2017-11-30 16:17:15 PST
It seems that DFGArgumentsEliminationPhase's change is bad one. But other ones are OK.
But basically this is optimization. I would like to keep applying this only to super simple and apparently correct ones. Like ones in DFGObjectAllocationSinkingPhase.cpp.
I think applying this to DFGObjectAllocationSinkingPhase.cpp is worth doing since basically DFGObjectAllocationSinkingPhase.cpp is known as super slow.

I'll only apply this change to DFGObjectAllocationSinkingPhase.cpp.
Comment 7 Yusuke Suzuki 2017-11-30 16:22:55 PST
Created attachment 328051 [details]
Patch
Comment 8 Mark Lam 2017-11-30 16:29:06 PST
Comment on attachment 328051 [details]
Patch

r=me
Comment 9 Yusuke Suzuki 2017-11-30 16:29:37 PST
Comment on attachment 328051 [details]
Patch

Thank you!
Comment 10 WebKit Commit Bot 2017-11-30 17:02:51 PST
Comment on attachment 328051 [details]
Patch

Clearing flags on attachment: 328051

Committed r225375: <https://trac.webkit.org/changeset/225375>
Comment 11 WebKit Commit Bot 2017-11-30 17:02:52 PST
All reviewed patches have been landed.  Closing bug.