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 #include <iosfwd> | 8 #include <iosfwd> |
9 | 9 |
10 // Opcodes for control operators. | 10 // Opcodes for control operators. |
11 #define CONTROL_OP_LIST(V) \ | 11 #define CONTROL_OP_LIST(V) \ |
12 V(Start) \ | 12 V(Start) \ |
13 V(Loop) \ | 13 V(Loop) \ |
14 V(Branch) \ | 14 V(Branch) \ |
15 V(Switch) \ | 15 V(Switch) \ |
16 V(IfTrue) \ | 16 V(IfTrue) \ |
17 V(IfFalse) \ | 17 V(IfFalse) \ |
18 V(IfSuccess) \ | 18 V(IfSuccess) \ |
19 V(IfException) \ | 19 V(IfException) \ |
20 V(IfValue) \ | 20 V(IfValue) \ |
21 V(IfDefault) \ | 21 V(IfDefault) \ |
22 V(Merge) \ | 22 V(Merge) \ |
23 V(Deoptimize) \ | 23 V(Deoptimize) \ |
| 24 V(DeoptimizeIf) \ |
| 25 V(DeoptimizeUnless) \ |
24 V(Return) \ | 26 V(Return) \ |
25 V(TailCall) \ | 27 V(TailCall) \ |
26 V(Terminate) \ | 28 V(Terminate) \ |
27 V(OsrNormalEntry) \ | 29 V(OsrNormalEntry) \ |
28 V(OsrLoopEntry) \ | 30 V(OsrLoopEntry) \ |
29 V(Throw) \ | 31 V(Throw) \ |
30 V(End) | 32 V(End) |
31 | 33 |
32 // Opcodes for constant operators. | 34 // Opcodes for constant operators. |
33 #define CONSTANT_OP_LIST(V) \ | 35 #define CONSTANT_OP_LIST(V) \ |
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 } | 411 } |
410 }; | 412 }; |
411 | 413 |
412 std::ostream& operator<<(std::ostream&, IrOpcode::Value); | 414 std::ostream& operator<<(std::ostream&, IrOpcode::Value); |
413 | 415 |
414 } // namespace compiler | 416 } // namespace compiler |
415 } // namespace internal | 417 } // namespace internal |
416 } // namespace v8 | 418 } // namespace v8 |
417 | 419 |
418 #endif // V8_COMPILER_OPCODES_H_ | 420 #endif // V8_COMPILER_OPCODES_H_ |
OLD | NEW |