Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(241)

Issue 139903005: We shouldn't throw under FLAG_debug_code, rather abort. (Closed)

Created:
6 years, 11 months ago by mvstanton
Modified:
6 years, 10 months ago
CC:
v8-dev
Visibility:
Public.

Description

We shouldn't throw under FLAG_debug_code, rather abort. 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 Committed: https://code.google.com/p/v8/source/detail?r=18878

Patch Set 1 #

Patch Set 2 : REBASE + mjsunit.status todo update. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -120 lines) Patch
M src/arm/full-codegen-arm.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M src/arm/macro-assembler-arm.cc View 1 2 chunks +5 lines, -5 lines 0 comments Download
M src/ia32/full-codegen-ia32.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 1 2 chunks +5 lines, -6 lines 0 comments Download
M src/mips/full-codegen-mips.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M src/mips/macro-assembler-mips.cc View 1 2 chunks +5 lines, -5 lines 0 comments Download
M src/x64/full-codegen-x64.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M test/mjsunit/mjsunit.status View 1 1 chunk +0 lines, -3 lines 0 comments Download
D test/mjsunit/regress/regress-320948.js View 1 chunk +0 lines, -81 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
mvstanton
Hi Hannes, hi Michael, Here is the issue we discussed. Thanks, --Michael
6 years, 11 months ago (2014-01-27 15:14:40 UTC) #1
Hannes Payer (out of office)
LGTM
6 years, 11 months ago (2014-01-27 15:58:42 UTC) #2
Michael Achenbach
LGTM, CF is ready.
6 years, 10 months ago (2014-01-28 11:42:58 UTC) #3
mvstanton
6 years, 10 months ago (2014-01-28 11:53:24 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r18878 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698