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

Side by Side Diff: src/wasm/wasm-opcodes.h

Issue 2336303002: [V8][Wasm] Removes references to finally in wasm. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates comment Created 4 years, 3 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
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, _) \ 58 V(Throw, 0xfa, _) \
59 V(TryCatch, 0xfb, _) \ 59 V(Try, 0xfb, _) \
60 V(TryCatchFinally, 0xfc, _) \
61 V(TryFinally, 0xfd, _) \
62 V(Catch, 0xfe, _) \ 60 V(Catch, 0xfe, _) \
63 V(Finally, 0xff, _) \
64 V(End, 0x0F, _) 61 V(End, 0x0F, _)
65 62
66 // Constants, locals, globals, and calls. 63 // Constants, locals, globals, and calls.
67 #define FOREACH_MISC_OPCODE(V) \ 64 #define FOREACH_MISC_OPCODE(V) \
68 V(I32Const, 0x10, _) \ 65 V(I32Const, 0x10, _) \
69 V(I64Const, 0x11, _) \ 66 V(I64Const, 0x11, _) \
70 V(F64Const, 0x12, _) \ 67 V(F64Const, 0x12, _) \
71 V(F32Const, 0x13, _) \ 68 V(F32Const, 0x13, _) \
72 V(GetLocal, 0x14, _) \ 69 V(GetLocal, 0x14, _) \
73 V(SetLocal, 0x15, _) \ 70 V(SetLocal, 0x15, _) \
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 default: 634 default:
638 return "<unknown>"; 635 return "<unknown>";
639 } 636 }
640 } 637 }
641 }; 638 };
642 } // namespace wasm 639 } // namespace wasm
643 } // namespace internal 640 } // namespace internal
644 } // namespace v8 641 } // namespace v8
645 642
646 #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