Description[console] fast console.assert(true)
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}
Committed: https://chromium.googlesource.com/v8/v8/+/f28e487858ef9048bcd8bc4a1bffa0ff8770bf57
Patch Set 1 #Patch Set 2 : reverted protocol-test.js changes #
Total comments: 14
Patch Set 3 : addressed comments #Patch Set 4 : added TailCallBuiltin #
Total comments: 2
Patch Set 5 : addressed comments #
Messages
Total messages: 19 (9 generated)
|