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

Unified Diff: src/wasm/wasm-opcodes.h

Issue 2222193004: [WASM] Exception handling prototype. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: addresses comments Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/wasm/ast-decoder.cc ('k') | test/unittests/wasm/ast-decoder-unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/wasm/wasm-opcodes.h
diff --git a/src/wasm/wasm-opcodes.h b/src/wasm/wasm-opcodes.h
index 3830a1d3538c3a5ba0fc1d928ada425743c5a0c7..4d66e567ef7e7aa18d09c1d44cff12d8d0791c11 100644
--- a/src/wasm/wasm-opcodes.h
+++ b/src/wasm/wasm-opcodes.h
@@ -55,6 +55,12 @@ const WasmCodePosition kNoCodePosition = -1;
V(BrTable, 0x08, _) \
V(Return, 0x09, _) \
V(Unreachable, 0x0a, _) \
+ V(Throw, 0xfa, _) \
+ V(TryCatch, 0xfb, _) \
+ V(TryCatchFinally, 0xfc, _) \
+ V(TryFinally, 0xfd, _) \
+ V(Catch, 0xfe, _) \
+ V(Finally, 0xff, _) \
V(End, 0x0F, _)
// Constants, locals, globals, and calls.
« no previous file with comments | « src/wasm/ast-decoder.cc ('k') | test/unittests/wasm/ast-decoder-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698