• bmeurer's avatar
    [builtins] Add support for JS builtins written in TurboFan. · 43fe7d68
    bmeurer authored
    This CL adds support for builtins with JavaScript linkage written using
    the TurboFan CodeStubAssembler, but with a JSCall descriptor (which was
    already supported thanks to a previous patch by Ben Smith). As a first
    example, we convert the Math.sqrt builtin and thereby get rid of the
    %_MathSqrt intrinsic, which causes trouble for the representation
    selection pass in the JavaScript pipeline.
    
    R=mstarzinger@chromium.org
    
    Review URL: https://codereview.chromium.org/1824993002
    
    Cr-Commit-Position: refs/heads/master@{#34989}
    43fe7d68
js-builtin-reducer.cc 7.53 KB