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

Issue 2526703002: [wasm] [asmjs] Route asm.js warnings to the dev console. (Closed)

Created:
4 years ago by bradnelson
Modified:
4 years ago
CC:
Michael Hablich, titzer, v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] [asmjs] Route asm.js warnings to the dev console. Generalize Messages to include an error level. Add a parameter to AddMessageHandler to select which error levels to receive, using a mask (default being just errors, i.e. the current behavior). BUG=v8:4203 R=dgozman@chromium.org,machenbach@chromium.org,danno@chromium.org,bmeurer@chromium.org,jochen@chromium.org Committed: https://crrev.com/aabbbec67c3c7363ef08c657f2d688ad2e8f7de8 Cr-Commit-Position: refs/heads/master@{#41648}

Patch Set 1 #

Patch Set 2 : fix #

Total comments: 4

Patch Set 3 : fix #

Total comments: 1

Patch Set 4 : git cl try #

Patch Set 5 : fix #

Patch Set 6 : fix #

Patch Set 7 : fix #

Patch Set 8 : added api tests #

Patch Set 9 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+267 lines, -92 lines) Patch
M include/v8.h View 1 2 3 4 5 6 7 8 4 chunks +31 lines, -1 line 0 comments Download
M src/api.cc View 1 2 3 4 5 6 7 8 2 chunks +12 lines, -2 lines 0 comments Download
M src/asmjs/asm-js.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -2 lines 0 comments Download
M src/asmjs/asm-typer.h View 1 2 3 4 5 6 7 6 chunks +9 lines, -9 lines 0 comments Download
M src/asmjs/asm-typer.cc View 1 2 3 4 5 6 7 8 6 chunks +22 lines, -32 lines 0 comments Download
M src/d8.cc View 1 2 3 4 5 6 7 8 2 chunks +41 lines, -3 lines 0 comments Download
M src/factory.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M src/messages.h View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -2 lines 0 comments Download
M src/messages.cc View 1 2 3 4 5 6 7 8 3 chunks +53 lines, -36 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 7 2 chunks +5 lines, -1 line 0 comments Download
M src/objects-inl.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/asmjs/test-asm-typer.cc View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -3 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 3 4 5 6 7 1 chunk +73 lines, -0 lines 0 comments Download

Messages

Total messages: 65 (46 generated)
bradn
PTSL
4 years ago (2016-11-23 08:15:00 UTC) #11
bradn
PTAL rather...
4 years ago (2016-11-23 08:15:15 UTC) #12
bradn
Blink side: https://codereview.chromium.org/2530503002/
4 years ago (2016-11-23 08:36:52 UTC) #16
Benedikt Meurer
https://codereview.chromium.org/2526703002/diff/20001/src/api.cc File src/api.cc (right): https://codereview.chromium.org/2526703002/diff/20001/src/api.cc#newcode403 src/api.cc:403: if (i::FLAG_disable_asm_warnings) { Is this flag really useful? If ...
4 years ago (2016-11-23 08:41:31 UTC) #17
bradn
https://codereview.chromium.org/2526703002/diff/20001/src/api.cc File src/api.cc (right): https://codereview.chromium.org/2526703002/diff/20001/src/api.cc#newcode403 src/api.cc:403: if (i::FLAG_disable_asm_warnings) { On 2016/11/23 08:41:31, Benedikt Meurer wrote: ...
4 years ago (2016-11-23 08:46:18 UTC) #18
Michael Achenbach
https://codereview.chromium.org/2526703002/diff/20001/src/api.cc File src/api.cc (right): https://codereview.chromium.org/2526703002/diff/20001/src/api.cc#newcode403 src/api.cc:403: if (i::FLAG_disable_asm_warnings) { On 2016/11/23 08:46:18, bradn wrote: > ...
4 years ago (2016-11-23 09:01:22 UTC) #19
bradn
https://codereview.chromium.org/2526703002/diff/20001/src/api.cc File src/api.cc (right): https://codereview.chromium.org/2526703002/diff/20001/src/api.cc#newcode403 src/api.cc:403: if (i::FLAG_disable_asm_warnings) { On 2016/11/23 09:01:22, machenbach (slow) wrote: ...
4 years ago (2016-11-23 09:10:56 UTC) #22
bradnelson
Ping?
4 years ago (2016-11-29 06:39:20 UTC) #26
Benedikt Meurer
LGTM.
4 years ago (2016-11-29 06:40:36 UTC) #27
dgozman
https://codereview.chromium.org/2526703002/diff/40001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/2526703002/diff/40001/include/v8.h#newcode7075 include/v8.h:7075: void SetAsmJsWarningHandler(AsmJsWarningCallback that); Do we really need this to ...
4 years ago (2016-11-29 19:00:53 UTC) #28
bradnelson
PTAL Now sharing Message as discussed.
4 years ago (2016-12-01 09:32:48 UTC) #40
bradnelson
+jochen, just realized he was only on the other half of the change.
4 years ago (2016-12-01 09:49:54 UTC) #43
dgozman
API looks good to me, but I don't have enough knowledge to judge the implementation. ...
4 years ago (2016-12-01 18:39:36 UTC) #46
jochen (gone - plz use gerrit)
I'm still somewhat saddened that we have to add so much API instead of just ...
4 years ago (2016-12-05 15:42:20 UTC) #47
bradnelson
Added tests. PTAL
4 years ago (2016-12-12 13:19:45 UTC) #50
jochen (gone - plz use gerrit)
lgtm
4 years ago (2016-12-12 13:21:12 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2526703002/150001
4 years ago (2016-12-12 14:11:27 UTC) #60
commit-bot: I haz the power
Committed patchset #9 (id:150001)
4 years ago (2016-12-12 14:48:05 UTC) #63
commit-bot: I haz the power
4 years ago (2016-12-12 14:49:01 UTC) #65
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/aabbbec67c3c7363ef08c657f2d688ad2e8f7de8
Cr-Commit-Position: refs/heads/master@{#41648}

Powered by Google App Engine
This is Rietveld 408576698