| 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(Terminate) \ |
| 18 V(OsrNormalEntry) \ |
| 19 V(OsrLoopEntry) \ |
| 18 V(Throw) | 20 V(Throw) |
| 19 | 21 |
| 20 #define CONTROL_OP_LIST(V) \ | 22 #define CONTROL_OP_LIST(V) \ |
| 21 INNER_CONTROL_OP_LIST(V) \ | 23 INNER_CONTROL_OP_LIST(V) \ |
| 22 V(Start) \ | 24 V(Start) \ |
| 23 V(End) | 25 V(End) |
| 24 | 26 |
| 25 // Opcodes for common operators. | 27 // Opcodes for common operators. |
| 26 #define LEAF_OP_LIST(V) \ | 28 #define LEAF_OP_LIST(V) \ |
| 27 V(Int32Constant) \ | 29 V(Int32Constant) \ |
| 28 V(Int64Constant) \ | 30 V(Int64Constant) \ |
| 29 V(Float32Constant) \ | 31 V(Float32Constant) \ |
| 30 V(Float64Constant) \ | 32 V(Float64Constant) \ |
| 31 V(ExternalConstant) \ | 33 V(ExternalConstant) \ |
| 32 V(NumberConstant) \ | 34 V(NumberConstant) \ |
| 33 V(HeapConstant) | 35 V(HeapConstant) |
| 34 | 36 |
| 35 #define INNER_OP_LIST(V) \ | 37 #define INNER_OP_LIST(V) \ |
| 36 V(Select) \ | 38 V(Select) \ |
| 37 V(Phi) \ | 39 V(Phi) \ |
| 38 V(EffectPhi) \ | 40 V(EffectPhi) \ |
| 39 V(ValueEffect) \ | 41 V(ValueEffect) \ |
| 40 V(Finish) \ | 42 V(Finish) \ |
| 41 V(FrameState) \ | 43 V(FrameState) \ |
| 42 V(StateValues) \ | 44 V(StateValues) \ |
| 43 V(Call) \ | 45 V(Call) \ |
| 44 V(Parameter) \ | 46 V(Parameter) \ |
| 47 V(OsrValue) \ |
| 45 V(Projection) | 48 V(Projection) |
| 46 | 49 |
| 47 #define COMMON_OP_LIST(V) \ | 50 #define COMMON_OP_LIST(V) \ |
| 48 LEAF_OP_LIST(V) \ | 51 LEAF_OP_LIST(V) \ |
| 49 INNER_OP_LIST(V) | 52 INNER_OP_LIST(V) |
| 50 | 53 |
| 51 // Opcodes for JavaScript operators. | 54 // Opcodes for JavaScript operators. |
| 52 #define JS_COMPARE_BINOP_LIST(V) \ | 55 #define JS_COMPARE_BINOP_LIST(V) \ |
| 53 V(JSEqual) \ | 56 V(JSEqual) \ |
| 54 V(JSNotEqual) \ | 57 V(JSNotEqual) \ |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 return false; | 336 return false; |
| 334 } | 337 } |
| 335 } | 338 } |
| 336 }; | 339 }; |
| 337 | 340 |
| 338 } // namespace compiler | 341 } // namespace compiler |
| 339 } // namespace internal | 342 } // namespace internal |
| 340 } // namespace v8 | 343 } // namespace v8 |
| 341 | 344 |
| 342 #endif // V8_COMPILER_OPCODES_H_ | 345 #endif // V8_COMPILER_OPCODES_H_ |
| OLD | NEW |