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

Issue 1880493002: Move TrapReason messages over to messages.h (Closed)

Created:
4 years, 8 months ago by Clemens Hammacher
Modified:
4 years, 8 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@include-objects-in-messages
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Move TrapReason messages over to messages.h This prepares a patch to throw actual errors instead of just strings on wasm traps. In order to accomplish this, the messages need to be known to the runtime, as the generated code will just pass the message id. R=mstarzinger@chromium.org, titzer@chromium.org BUG= Committed: https://crrev.com/ce669d792c0f5c06ea6bb4839f84ef802348bcf7 Cr-Commit-Position: refs/heads/master@{#35628}

Patch Set 1 #

Total comments: 2

Patch Set 2 : update depends-on #

Patch Set 3 : move new messages to the end #

Patch Set 4 : address mstarzinger's comments #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -33 lines) Patch
M src/compiler/wasm-compiler.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/messages.h View 1 2 3 1 chunk +10 lines, -1 line 0 comments Download
M src/wasm/wasm-opcodes.h View 1 2 3 3 chunks +16 lines, -31 lines 0 comments Download
M src/wasm/wasm-opcodes.cc View 1 2 3 2 chunks +17 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 12 (4 generated)
Clemens Hammacher
4 years, 8 months ago (2016-04-11 13:54:23 UTC) #1
Michael Starzinger
LGTM on messages.h changes. https://codereview.chromium.org/1880493002/diff/1/src/wasm/wasm-opcodes.h File src/wasm/wasm-opcodes.h (right): https://codereview.chromium.org/1880493002/diff/1/src/wasm/wasm-opcodes.h#newcode9 src/wasm/wasm-opcodes.h:9: #include "src/messages.h" nit: Not sure ...
4 years, 8 months ago (2016-04-11 14:05:24 UTC) #2
Clemens Hammacher
On 2016/04/11 at 14:05:24, mstarzinger wrote: > LGTM on messages.h changes. > > https://codereview.chromium.org/1880493002/diff/1/src/wasm/wasm-opcodes.h > ...
4 years, 8 months ago (2016-04-11 16:57:30 UTC) #3
JF
lgtm
4 years, 8 months ago (2016-04-11 18:26:17 UTC) #5
titzer
On 2016/04/11 18:26:17, JF wrote: > lgtm lgtm
4 years, 8 months ago (2016-04-18 16:20:27 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1880493002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1880493002/80001
4 years, 8 months ago (2016-04-19 15:32:54 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-19 15:56:20 UTC) #10
nodir1
4 years, 8 months ago (2016-04-22 18:43:07 UTC) #12
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/ce669d792c0f5c06ea6bb4839f84ef802348bcf7
Cr-Commit-Position: refs/heads/master@{#35628}

Powered by Google App Engine
This is Rietveld 408576698