• Théotime Grohens's avatar
    [turbofan] Add DataView setters in TurboFan · c4323e08
    Théotime Grohens authored
    This CL completes the implementation of DataView prototype methods
    in TurboFan, by implementing the Uint8, Int8, Uint16, Int16,
    Uint32, Int32, Float32 and Float64 setters.
    
    DataView performance is now ahead of the equivalent TypedArray wrapper,
    and is now expected to at least match TypedArray performance in
    the general case as well.
    
    This CL also adds a test file in the compiler directory, to make
    sure that the setters actually behave correctly.
    
    Change-Id: I4ad4341c6b9b9d461348b62216f37a73abe321e8
    Reviewed-on: https://chromium-review.googlesource.com/1128867Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
    Commit-Queue: Théotime Grohens <theotime@google.com>
    Cr-Commit-Position: refs/heads/master@{#54331}
    c4323e08
js-call-reducer.h 11.3 KB