• kozyatinskiy's avatar
    [console] fast console.assert(true) · f28e4878
    kozyatinskiy authored
    A lot of web sites around the world has hack which replaces native console.assert by function with fast return.
    Current console.assert is slow because we need to run CPP builtin but we should enter this builtin iff condition is false or omitted.
    
    BUG=v8:6175
    R=ishell@chromium.org,dgozman@chromium.org
    
    Review-Url: https://codereview.chromium.org/2828933002
    Cr-Commit-Position: refs/heads/master@{#44752}
    f28e4878
code-stub-assembler.h 66.6 KB