• bmeurer's avatar
    [runtime] Make target checking for %Call and %_Call consistent. · 45876462
    bmeurer authored
    The %_Call intrinsic (if supported by the compiler) is lowered directly
    to the Call builtin and thus throws a TypeError if the target is not
    callable. The %Call runtime function also eventually calls into the Call
    builtin, but had an early abort if the target is not a JSReceiver, which
    is unnecessary and leads to various test failures for Ignition.
    
    R=mvstanton@chromium.org
    
    Review URL: https://codereview.chromium.org/1727833006
    
    Cr-Commit-Position: refs/heads/master@{#34316}
    45876462
call-intrinsic-type-error.js 277 Bytes