Summary: | REGRESSION(149636, merged in 153145): ToThis conversion doesn't work in the DFG | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Filip Pizlo <fpizlo> | ||||||
Component: | JavaScriptCore | Assignee: | Filip Pizlo <fpizlo> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | barraclough, ggaren, mark.lam, mhahnenberg, msaboff, oliver, sam | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 115542 | ||||||||
Attachments: |
|
Description
Filip Pizlo
2013-09-05 11:08:03 PDT
Created attachment 210638 [details]
the patch
Created attachment 210640 [details]
the patch
Comment on attachment 210640 [details] the patch View in context: https://bugs.webkit.org/attachment.cgi?id=210640&action=review > Source/JavaScriptCore/dfg/DFGAbstractInterpreterInlines.h:1089 > - destination.merge(SpecObjectOther); > + destination.merge(SpecObject); Do we end up with ToThis nodes in strict mode? If we do ToThis can be a primitive as it won't be boxed (this conversion is only for the global object -> global object proxy). (In reply to comment #3) > (From update of attachment 210640 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=210640&action=review > > > Source/JavaScriptCore/dfg/DFGAbstractInterpreterInlines.h:1089 > > - destination.merge(SpecObjectOther); > > + destination.merge(SpecObject); > > Do we end up with ToThis nodes in strict mode? If we do ToThis can be a primitive as it won't be boxed (this conversion is only for the global object -> global object proxy). Hence the merge. If the value was a primitive before, this will say "primitive or object". If it was TOP before, then this will still say TOP. Comment on attachment 210640 [details]
the patch
r=me
Landed in http://trac.webkit.org/changeset/155149 This broke the build so I rolled it out in r155166. Relanded in http://trac.webkit.org/changeset/155201 |