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

Side by Side Diff: src/compiler/opcodes.h

Issue 2562393002: [wasm] Introduce the TrapIf and TrapUnless operators to generate trap code. (Closed)
Patch Set: Rename UseSourcePosition to IsSourcePositionUsed Created 4 years 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
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_COMPILER_OPCODES_H_ 5 #ifndef V8_COMPILER_OPCODES_H_
6 #define V8_COMPILER_OPCODES_H_ 6 #define V8_COMPILER_OPCODES_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/globals.h" 10 #include "src/globals.h"
11 11
12 // Opcodes for control operators. 12 // Opcodes for control operators.
13 #define CONTROL_OP_LIST(V) \ 13 #define CONTROL_OP_LIST(V) \
14 V(Start) \ 14 V(Start) \
15 V(Loop) \ 15 V(Loop) \
16 V(Branch) \ 16 V(Branch) \
17 V(Switch) \ 17 V(Switch) \
18 V(IfTrue) \ 18 V(IfTrue) \
19 V(IfFalse) \ 19 V(IfFalse) \
20 V(IfSuccess) \ 20 V(IfSuccess) \
21 V(IfException) \ 21 V(IfException) \
22 V(IfValue) \ 22 V(IfValue) \
23 V(IfDefault) \ 23 V(IfDefault) \
24 V(Merge) \ 24 V(Merge) \
25 V(Deoptimize) \ 25 V(Deoptimize) \
26 V(DeoptimizeIf) \ 26 V(DeoptimizeIf) \
27 V(DeoptimizeUnless) \ 27 V(DeoptimizeUnless) \
28 V(TrapIf) \
29 V(TrapUnless) \
28 V(Return) \ 30 V(Return) \
29 V(TailCall) \ 31 V(TailCall) \
30 V(Terminate) \ 32 V(Terminate) \
31 V(OsrNormalEntry) \ 33 V(OsrNormalEntry) \
32 V(OsrLoopEntry) \ 34 V(OsrLoopEntry) \
33 V(Throw) \ 35 V(Throw) \
34 V(End) 36 V(End)
35 37
36 // Opcodes for constant operators. 38 // Opcodes for constant operators.
37 #define CONSTANT_OP_LIST(V) \ 39 #define CONSTANT_OP_LIST(V) \
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after
797 } 799 }
798 }; 800 };
799 801
800 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value); 802 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value);
801 803
802 } // namespace compiler 804 } // namespace compiler
803 } // namespace internal 805 } // namespace internal
804 } // namespace v8 806 } // namespace v8
805 807
806 #endif // V8_COMPILER_OPCODES_H_ 808 #endif // V8_COMPILER_OPCODES_H_
OLDNEW
« no previous file with comments | « src/compiler/mips64/instruction-selector-mips64.cc ('k') | src/compiler/ppc/code-generator-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698