Bug 171198

Summary: op_spread should profile its operand
Product: WebKit Reporter: Saam Barati <saam>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: benjamin, fpizlo, ggaren, gskachkov, jfbastien, keith_miller, mark.lam, msaboff, ticaiolima, ysuzuki
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Saam Barati
Reported 2017-04-23 10:45:30 PDT
If we had a good idea of what type of array was being spread, we could emit a CheckStructure in such a way that we could emit more efficient machine code for the spread. We'd also be able to prove it could be spread fast (e.g, not observable iterator protocol).
Attachments
Note You need to log in before you can comment on or make changes to this bug.