• mvstanton@chromium.org's avatar
    We shouldn't throw under FLAG_debug_code, rather abort. · 371d6f6a
    mvstanton@chromium.org authored
    Throwing under FLAG_debug_code confuses the rest of our infrastructure
    which expects a safe point at the site of call into the runtime
    for throw. We were doing that to make a clusterfuzz test happy, but
    the better solution is to assert/abort under debug_code, and prevent
    clusterfuzz from fuzzing on internal APIs that crash on incorrect
    values.
    
    We'll need to alter the fuzzer to turn off fuzzing for:
    
    string-natives.js
    lithium/SeqStringSetChar.js
    regress/regress-seqstrsetchar-ex3.js
    regress/regress-seqstrsetchar-ex1.js
    regress/regress-crbug-320922.js
    
    So as to prevent the fuzzer from running
    %_OneByteSeqStringSetChar() and
    %_TwoByteSeqStringSetChar().
    
    BUG=
    R=hpayer@chromium.org, machenbach@chromium.org
    
    Review URL: https://codereview.chromium.org/139903005
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18878 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    371d6f6a
Name
Last commit
Last update
benchmarks Loading commit data...
build Loading commit data...
include Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
Makefile.nacl Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...