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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_WASM_OPCODES_H_ 5 #ifndef V8_WASM_OPCODES_H_
6 #define V8_WASM_OPCODES_H_ 6 #define V8_WASM_OPCODES_H_
7 7
8 #include "src/machine-type.h" 8 #include "src/machine-type.h"
9 #include "src/signature.h" 9 #include "src/signature.h"
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 V(Block, 0x01, _) \ 48 V(Block, 0x01, _) \
49 V(Loop, 0x02, _) \ 49 V(Loop, 0x02, _) \
50 V(If, 0x03, _) \ 50 V(If, 0x03, _) \
51 V(Else, 0x04, _) \ 51 V(Else, 0x04, _) \
52 V(Select, 0x05, _) \ 52 V(Select, 0x05, _) \
53 V(Br, 0x06, _) \ 53 V(Br, 0x06, _) \
54 V(BrIf, 0x07, _) \ 54 V(BrIf, 0x07, _) \
55 V(BrTable, 0x08, _) \ 55 V(BrTable, 0x08, _) \
56 V(Return, 0x09, _) \ 56 V(Return, 0x09, _) \
57 V(Unreachable, 0x0a, _) \ 57 V(Unreachable, 0x0a, _) \
58 V(Throw, 0xfa, _) \
59 V(TryCatch, 0xfb, _) \
60 V(TryCatchFinally, 0xfc, _) \
61 V(TryFinally, 0xfd, _) \
62 V(Catch, 0xfe, _) \
63 V(Finally, 0xff, _) \
58 V(End, 0x0F, _) 64 V(End, 0x0F, _)
59 65
60 // Constants, locals, globals, and calls. 66 // Constants, locals, globals, and calls.
61 #define FOREACH_MISC_OPCODE(V) \ 67 #define FOREACH_MISC_OPCODE(V) \
62 V(I32Const, 0x10, _) \ 68 V(I32Const, 0x10, _) \
63 V(I64Const, 0x11, _) \ 69 V(I64Const, 0x11, _) \
64 V(F64Const, 0x12, _) \ 70 V(F64Const, 0x12, _) \
65 V(F32Const, 0x13, _) \ 71 V(F32Const, 0x13, _) \
66 V(GetLocal, 0x14, _) \ 72 V(GetLocal, 0x14, _) \
67 V(SetLocal, 0x15, _) \ 73 V(SetLocal, 0x15, _) \
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 default: 634 default:
629 return "<unknown>"; 635 return "<unknown>";
630 } 636 }
631 } 637 }
632 }; 638 };
633 } // namespace wasm 639 } // namespace wasm
634 } // namespace internal 640 } // namespace internal
635 } // namespace v8 641 } // namespace v8
636 642
637 #endif // V8_WASM_OPCODES_H_ 643 #endif // V8_WASM_OPCODES_H_
OLDNEW
« 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