| 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(IfSuccess) \ | 15 V(IfSuccess) \ |
| 16 V(IfException) \ | 16 V(IfException) \ |
| 17 V(Switch) \ | 17 V(Switch) \ |
| 18 V(IfValue) \ | 18 V(IfValue) \ |
| 19 V(IfDefault) \ | 19 V(IfDefault) \ |
| 20 V(Merge) \ | 20 V(Merge) \ |
| 21 V(Deoptimize) \ |
| 21 V(Return) \ | 22 V(Return) \ |
| 22 V(OsrNormalEntry) \ | 23 V(OsrNormalEntry) \ |
| 23 V(OsrLoopEntry) \ | 24 V(OsrLoopEntry) \ |
| 24 V(Throw) | 25 V(Throw) |
| 25 | 26 |
| 26 #define CONTROL_OP_LIST(V) \ | 27 #define CONTROL_OP_LIST(V) \ |
| 27 INNER_CONTROL_OP_LIST(V) \ | 28 INNER_CONTROL_OP_LIST(V) \ |
| 28 V(Start) \ | 29 V(Start) \ |
| 29 V(End) | 30 V(End) |
| 30 | 31 |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 (kNumberEqual <= value && value <= kStringLessThanOrEqual) || | 322 (kNumberEqual <= value && value <= kStringLessThanOrEqual) || |
| 322 (kWord32Equal <= value && value <= kFloat64LessThanOrEqual); | 323 (kWord32Equal <= value && value <= kFloat64LessThanOrEqual); |
| 323 } | 324 } |
| 324 }; | 325 }; |
| 325 | 326 |
| 326 } // namespace compiler | 327 } // namespace compiler |
| 327 } // namespace internal | 328 } // namespace internal |
| 328 } // namespace v8 | 329 } // namespace v8 |
| 329 | 330 |
| 330 #endif // V8_COMPILER_OPCODES_H_ | 331 #endif // V8_COMPILER_OPCODES_H_ |
| OLD | NEW |