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(Dead) \ | 13 V(Dead) \ |
Benedikt Meurer
2015/06/18 07:16:53
Nit: Please rename this to DeadControl.
Michael Starzinger
2015/06/18 07:49:28
Done. Also moved it down a bit.
| |
14 V(Loop) \ | 14 V(Loop) \ |
15 V(Branch) \ | 15 V(Branch) \ |
16 V(Switch) \ | 16 V(Switch) \ |
17 V(IfTrue) \ | 17 V(IfTrue) \ |
18 V(IfFalse) \ | 18 V(IfFalse) \ |
19 V(IfSuccess) \ | 19 V(IfSuccess) \ |
20 V(IfException) \ | 20 V(IfException) \ |
21 V(IfValue) \ | 21 V(IfValue) \ |
22 V(IfDefault) \ | 22 V(IfDefault) \ |
23 V(Merge) \ | 23 V(Merge) \ |
(...skipping 16 matching lines...) Expand all Loading... | |
40 V(NumberConstant) \ | 40 V(NumberConstant) \ |
41 V(HeapConstant) | 41 V(HeapConstant) |
42 | 42 |
43 #define INNER_OP_LIST(V) \ | 43 #define INNER_OP_LIST(V) \ |
44 V(Select) \ | 44 V(Select) \ |
45 V(Phi) \ | 45 V(Phi) \ |
46 V(EffectSet) \ | 46 V(EffectSet) \ |
47 V(EffectPhi) \ | 47 V(EffectPhi) \ |
48 V(ValueEffect) \ | 48 V(ValueEffect) \ |
49 V(Finish) \ | 49 V(Finish) \ |
50 V(DeadValue) \ | |
Benedikt Meurer
2015/06/18 07:16:53
Nit: Please move these two to COMMON_OP_LIST
Michael Starzinger
2015/06/18 07:49:28
Done.
| |
51 V(DeadEffect) \ | |
50 V(FrameState) \ | 52 V(FrameState) \ |
51 V(StateValues) \ | 53 V(StateValues) \ |
52 V(TypedStateValues) \ | 54 V(TypedStateValues) \ |
53 V(Call) \ | 55 V(Call) \ |
54 V(Parameter) \ | 56 V(Parameter) \ |
55 V(OsrValue) \ | 57 V(OsrValue) \ |
56 V(Projection) | 58 V(Projection) |
57 | 59 |
58 #define COMMON_OP_LIST(V) \ | 60 #define COMMON_OP_LIST(V) \ |
59 CONSTANT_OP_LIST(V) \ | 61 CONSTANT_OP_LIST(V) \ |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
356 } | 358 } |
357 }; | 359 }; |
358 | 360 |
359 std::ostream& operator<<(std::ostream&, IrOpcode::Value); | 361 std::ostream& operator<<(std::ostream&, IrOpcode::Value); |
360 | 362 |
361 } // namespace compiler | 363 } // namespace compiler |
362 } // namespace internal | 364 } // namespace internal |
363 } // namespace v8 | 365 } // namespace v8 |
364 | 366 |
365 #endif // V8_COMPILER_OPCODES_H_ | 367 #endif // V8_COMPILER_OPCODES_H_ |
OLD | NEW |