Summary: | [JSC][FTL] FTL should support Arrayify | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Yusuke Suzuki <ysuzuki> | ||||||
Component: | JavaScriptCore | Assignee: | Yusuke Suzuki <ysuzuki> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | buildbot, fpizlo, keith_miller, mark.lam, msaboff, saam | ||||||
Priority: | P2 | ||||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Yusuke Suzuki
2017-03-14 01:01:44 PDT
But anyway, supporting Arrayify in FTL is nice because ArrayifyToStructure is already done in FTL. Maybe, I think recent checkArray fixup for `in` operation allows us to emit Arrayify in the above benchmark. Then, FTL rejects it. Created attachment 307591 [details]
Patch
Created attachment 307592 [details]
Patch
Comment on attachment 307592 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=307592&action=review r=me > Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp:2761 > + auto isUnexpectedArray = [&](LValue cell) { style: I think we put a space between "]" and "(" Comment on attachment 307592 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=307592&action=review Thanks! >> Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp:2761 >> + auto isUnexpectedArray = [&](LValue cell) { > > style: I think we put a space between "]" and "(" Fixed. Committed r215600: <http://trac.webkit.org/changeset/215600> |