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(Switch) \ |
| 16 V(Case) \ |
15 V(Merge) \ | 17 V(Merge) \ |
16 V(Return) \ | 18 V(Return) \ |
17 V(OsrNormalEntry) \ | 19 V(OsrNormalEntry) \ |
18 V(OsrLoopEntry) \ | 20 V(OsrLoopEntry) \ |
19 V(Throw) | 21 V(Throw) |
20 | 22 |
21 #define CONTROL_OP_LIST(V) \ | 23 #define CONTROL_OP_LIST(V) \ |
22 INNER_CONTROL_OP_LIST(V) \ | 24 INNER_CONTROL_OP_LIST(V) \ |
23 V(Start) \ | 25 V(Start) \ |
24 V(End) | 26 V(End) |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 static bool IsPhiOpcode(Value val) { | 301 static bool IsPhiOpcode(Value val) { |
300 return val == kPhi || val == kEffectPhi; | 302 return val == kPhi || val == kEffectPhi; |
301 } | 303 } |
302 }; | 304 }; |
303 | 305 |
304 } // namespace compiler | 306 } // namespace compiler |
305 } // namespace internal | 307 } // namespace internal |
306 } // namespace v8 | 308 } // namespace v8 |
307 | 309 |
308 #endif // V8_COMPILER_OPCODES_H_ | 310 #endif // V8_COMPILER_OPCODES_H_ |
OLD | NEW |