| 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 #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 Loading... |
| 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_ |
| OLD | NEW |