Bug 164520

Summary: Spread operation in the DFG/FTL for non-arrays can directly make a JS call to the builtin function that does iteration
Product: WebKit Reporter: Saam Barati <saam>
Component: JavaScriptCoreAssignee: Saam Barati <saam>
Status: NEW ---    
Severity: Normal CC: benjamin, fpizlo, ggaren, gskachkov, jfbastien, keith_miller, mark.lam, msaboff, oliver, ticaiolima, ysuzuki
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Saam Barati 2016-11-08 11:03:01 PST
After https://bugs.webkit.org/show_bug.cgi?id=164258 lands, we will first call into C, and then call back out to JS. We should probably make the JIT just call directly to JS. This will probably improve the speed, especially for short iterations.