• bmeurer's avatar
    [turbofan] Remove the TryLowerDirectJSCall hack from generic lowering. · 6e5b9ffe
    bmeurer authored
    The TryLowerDirectJSCall method tried to lower to a direct JavaScript
    function call depending on the type of the receiver, but only if the
    target is a cosntant JSFunction. Since this depends on types and is not
    required for correctness, it shouldn't be part of generic lowering
    anyway. So this functionality was moved to typed lowering instead, and
    we use proper types for the target instead.
    
    R=mstarzinger@chromium.org
    
    Review URL: https://codereview.chromium.org/1182193005
    
    Cr-Commit-Position: refs/heads/master@{#29028}
    6e5b9ffe
js-generic-lowering.cc 31 KB