Bug 120965

Summary: FTL should support typed array GetByVal and related ops
Product: WebKit Reporter: Filip Pizlo <fpizlo>
Component: JavaScriptCoreAssignee: 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: 112840    
Attachments:
Description Flags
the patch
none
the patch oliver: review+

Description Filip Pizlo 2013-09-07 13:31:28 PDT
Support just enough to compile this function for any typed array type:

function foo(a) {
    var result = 0;
    for (var i = 0; i < a.length; ++i)
        result += a[i];
    return result;
}
Comment 1 Filip Pizlo 2013-09-07 13:33:31 PDT
Created attachment 210920 [details]
the patch
Comment 2 Filip Pizlo 2013-09-07 13:42:15 PDT
Created attachment 210921 [details]
the patch
Comment 3 Filip Pizlo 2013-09-07 14:13:21 PDT
Landed in http://trac.webkit.org/changeset/155260