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

Issue 2222193004: [WASM] Exception handling prototype. (Closed)

Created:
4 years, 4 months ago by John
Modified:
4 years, 4 months ago
Reviewers:
titzer, bradnelson
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[WASM] Exception handling prototype. ------------------------------------------------------------------------ This CL adds support for decoding eh-related wasm opcodes: * Throw: used for raising an exception; the thrown value lives on top of the evaluation stack; * TryCatch: used to start a try block that has a catch clause; * TryFinally: used to start a try block that has a finally clause; * TryCatchFinally: used to start a try block that has both catch and finally clauses; * Catch <local>: used to start the catch block of a TryCatch/TryCatchFinally block; the thrown value is stored in local <local>; and * Finally: used to start a finally block of TryFinally/TryCatchFinally. Three different opcodes are used to start a try block to simplify the AST construction during bytecode parsing. BUG= Committed: https://crrev.com/b2b40134d8ec1a418dd4bc5ac448f6f4278e59a1 Cr-Commit-Position: refs/heads/master@{#38579}

Patch Set 1 #

Patch Set 2 : handles the exception handling opcodes #

Patch Set 3 : decodes exception-handling related opcodes #

Patch Set 4 : adds flag for enabling wasm eh support. #

Patch Set 5 : git pull #

Patch Set 6 : Removes constexpr #

Patch Set 7 : Removes constant. #

Total comments: 4

Patch Set 8 : addresses comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+354 lines, -32 lines) Patch
M src/flag-definitions.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M src/wasm/ast-decoder.cc View 1 2 3 4 5 6 7 10 chunks +248 lines, -32 lines 0 comments Download
M src/wasm/wasm-opcodes.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M test/unittests/wasm/ast-decoder-unittest.cc View 1 2 3 3 chunks +98 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (23 generated)
John
4 years, 4 months ago (2016-08-10 17:16:41 UTC) #6
bradnelson
lgtm https://codereview.chromium.org/2222193004/diff/120001/src/wasm/ast-decoder.cc File src/wasm/ast-decoder.cc (right): https://codereview.chromium.org/2222193004/diff/120001/src/wasm/ast-decoder.cc#newcode72 src/wasm/ast-decoder.cc:72: SsaEnv* cont_env; // continuation environment (only for try ...
4 years, 4 months ago (2016-08-11 00:39:29 UTC) #17
John
https://codereview.chromium.org/2222193004/diff/120001/src/wasm/ast-decoder.cc File src/wasm/ast-decoder.cc (right): https://codereview.chromium.org/2222193004/diff/120001/src/wasm/ast-decoder.cc#newcode72 src/wasm/ast-decoder.cc:72: SsaEnv* cont_env; // continuation environment (only for try with ...
4 years, 4 months ago (2016-08-11 11:22:27 UTC) #18
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/2222193004/140001
4 years, 4 months ago (2016-08-11 13:12:57 UTC) #25
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 4 months ago (2016-08-11 13:14:58 UTC) #27
commit-bot: I haz the power
4 years, 4 months ago (2016-08-11 13:15:18 UTC) #29
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/b2b40134d8ec1a418dd4bc5ac448f6f4278e59a1
Cr-Commit-Position: refs/heads/master@{#38579}

Powered by Google App Engine
This is Rietveld 408576698