• yangguo's avatar
    Rewrite Error.prototype.toString in C++. · 2e2765a6
    yangguo authored
    This avoids many back-and-forth calls to the runtime.
    
    This also slightly changes the way we avoid getters. Previously, we circumvent getting the name property of ReferenceError, SyntaxError and TypeError due to crbug/69187 (in order to avoid leaking information from those errors through a 'name' getter installed on their prototypes). Now we do that for all errors created by V8.
    
    R=jkummerow@chromium.org, rossberg@chromium.org
    BUG=crbug:513472, crbug:69187
    LOG=N
    
    Review URL: https://codereview.chromium.org/1281833002
    
    Cr-Commit-Position: refs/heads/master@{#30105}
    2e2765a6
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
simdjs Loading commit data...
test262 Loading commit data...
test262-es6 Loading commit data...
unittests Loading commit data...
webkit Loading commit data...