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 INNER_CONTROL_OP_LIST(V) \ | 9 #define INNER_CONTROL_OP_LIST(V) \ |
10 V(Dead) \ | 10 V(Dead) \ |
11 V(Loop) \ | 11 V(Loop) \ |
12 V(Branch) \ | 12 V(Branch) \ |
13 V(IfTrue) \ | 13 V(IfTrue) \ |
14 V(IfFalse) \ | 14 V(IfFalse) \ |
15 V(Merge) \ | 15 V(Merge) \ |
16 V(Return) \ | 16 V(Return) \ |
| 17 V(Terminate) \ |
17 V(Throw) | 18 V(Throw) |
18 | 19 |
19 #define CONTROL_OP_LIST(V) \ | 20 #define CONTROL_OP_LIST(V) \ |
20 INNER_CONTROL_OP_LIST(V) \ | 21 INNER_CONTROL_OP_LIST(V) \ |
21 V(Start) \ | 22 V(Start) \ |
22 V(End) | 23 V(End) |
23 | 24 |
24 // Opcodes for common operators. | 25 // Opcodes for common operators. |
25 #define LEAF_OP_LIST(V) \ | 26 #define LEAF_OP_LIST(V) \ |
26 V(Int32Constant) \ | 27 V(Int32Constant) \ |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 return false; | 318 return false; |
318 } | 319 } |
319 } | 320 } |
320 }; | 321 }; |
321 | 322 |
322 } // namespace compiler | 323 } // namespace compiler |
323 } // namespace internal | 324 } // namespace internal |
324 } // namespace v8 | 325 } // namespace v8 |
325 | 326 |
326 #endif // V8_COMPILER_OPCODES_H_ | 327 #endif // V8_COMPILER_OPCODES_H_ |
OLD | NEW |