Bug 181200

Summary: Incorrect assertion inside AccessCase
Product: WebKit Reporter: Saam Barati <saam>
Component: JavaScriptCoreAssignee: Saam Barati <saam>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, commit-queue, fpizlo, ggaren, gskachkov, jfbastien, keith_miller, mark.lam, msaboff, rmorisset, ticaiolima, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch none

Description Saam Barati 2017-12-31 16:59:30 PST
In a setter like:

```
o.f = o;
```

The DFG will often assign the same registers to the baseGPR (o in o.f) and the valueRegsPayloadGPR (o in the RHS).
The code totally works when these are assigned to the same register. However, we're asserting that they're not the same register.
Comment 1 Saam Barati 2017-12-31 17:00:09 PST
<rdar://problem/35494754>
Comment 2 Saam Barati 2017-12-31 17:05:00 PST
Created attachment 330269 [details]
patch
Comment 3 Yusuke Suzuki 2018-01-01 10:05:08 PST
Comment on attachment 330269 [details]
patch

r=me
Comment 4 WebKit Commit Bot 2018-01-02 19:59:19 PST
Comment on attachment 330269 [details]
patch

Clearing flags on attachment: 330269

Committed r226351: <https://trac.webkit.org/changeset/226351>
Comment 5 WebKit Commit Bot 2018-01-02 19:59:21 PST
All reviewed patches have been landed.  Closing bug.