OLD | NEW |
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 // Opcodes for control operators. | 8 // Opcodes for control operators. |
9 #define CONTROL_OP_LIST(V) \ | 9 #define CONTROL_OP_LIST(V) \ |
10 V(Start) \ | 10 V(Start) \ |
11 V(Dead) \ | 11 V(Dead) \ |
12 V(Loop) \ | 12 V(Loop) \ |
13 V(End) \ | 13 V(End) \ |
14 V(Branch) \ | 14 V(Branch) \ |
15 V(IfTrue) \ | 15 V(IfTrue) \ |
16 V(IfFalse) \ | 16 V(IfFalse) \ |
17 V(Merge) \ | 17 V(Merge) \ |
18 V(Return) \ | 18 V(Return) \ |
19 V(Throw) \ | 19 V(Throw) \ |
20 V(Continuation) \ | 20 V(Continuation) \ |
21 V(LazyDeoptimization) \ | 21 V(LazyDeoptimization) \ |
22 V(Deoptimize) | 22 V(Deoptimize) |
23 | 23 |
24 // Opcodes for common operators. | 24 // Opcodes for common operators. |
25 #define LEAF_OP_LIST(V) \ | 25 #define LEAF_OP_LIST(V) \ |
26 V(Parameter) \ | |
27 V(Int32Constant) \ | 26 V(Int32Constant) \ |
28 V(Int64Constant) \ | 27 V(Int64Constant) \ |
29 V(Float64Constant) \ | 28 V(Float64Constant) \ |
30 V(ExternalConstant) \ | 29 V(ExternalConstant) \ |
31 V(NumberConstant) \ | 30 V(NumberConstant) \ |
32 V(HeapConstant) | 31 V(HeapConstant) |
33 | 32 |
34 #define INNER_OP_LIST(V) \ | 33 #define INNER_OP_LIST(V) \ |
35 V(Phi) \ | 34 V(Phi) \ |
36 V(EffectPhi) \ | 35 V(EffectPhi) \ |
37 V(FrameState) \ | 36 V(FrameState) \ |
38 V(Call) \ | 37 V(Call) \ |
| 38 V(Parameter) \ |
39 V(Projection) | 39 V(Projection) |
40 | 40 |
41 #define COMMON_OP_LIST(V) \ | 41 #define COMMON_OP_LIST(V) \ |
42 LEAF_OP_LIST(V) \ | 42 LEAF_OP_LIST(V) \ |
43 INNER_OP_LIST(V) | 43 INNER_OP_LIST(V) |
44 | 44 |
45 // Opcodes for JavaScript operators. | 45 // Opcodes for JavaScript operators. |
46 #define JS_COMPARE_BINOP_LIST(V) \ | 46 #define JS_COMPARE_BINOP_LIST(V) \ |
47 V(JSEqual) \ | 47 V(JSEqual) \ |
48 V(JSNotEqual) \ | 48 V(JSNotEqual) \ |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 return false; | 287 return false; |
288 } | 288 } |
289 } | 289 } |
290 }; | 290 }; |
291 | 291 |
292 } // namespace compiler | 292 } // namespace compiler |
293 } // namespace internal | 293 } // namespace internal |
294 } // namespace v8 | 294 } // namespace v8 |
295 | 295 |
296 #endif // V8_COMPILER_OPCODES_H_ | 296 #endif // V8_COMPILER_OPCODES_H_ |
OLD | NEW |