Bug 120965 - FTL should support typed array GetByVal and related ops
Summary: FTL should support typed array GetByVal and related ops
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Filip Pizlo
Depends on:
Blocks: 112840
  Show dependency treegraph
Reported: 2013-09-07 13:31 PDT by Filip Pizlo
Modified: 2013-09-07 14:13 PDT (History)
7 users (show)

See Also:

the patch (18.58 KB, patch)
2013-09-07 13:33 PDT, Filip Pizlo
no flags Details | Formatted Diff | Diff
the patch (20.00 KB, patch)
2013-09-07 13:42 PDT, Filip Pizlo
oliver: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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