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. |
(...skipping 25 matching lines...) Expand all Loading... |
36 V(Int32Constant) \ | 36 V(Int32Constant) \ |
37 V(Int64Constant) \ | 37 V(Int64Constant) \ |
38 V(Float32Constant) \ | 38 V(Float32Constant) \ |
39 V(Float64Constant) \ | 39 V(Float64Constant) \ |
40 V(ExternalConstant) \ | 40 V(ExternalConstant) \ |
41 V(NumberConstant) \ | 41 V(NumberConstant) \ |
42 V(HeapConstant) \ | 42 V(HeapConstant) \ |
43 V(RelocatableInt32Constant) \ | 43 V(RelocatableInt32Constant) \ |
44 V(RelocatableInt64Constant) | 44 V(RelocatableInt64Constant) |
45 | 45 |
46 #define INNER_OP_LIST(V) \ | 46 #define INNER_OP_LIST(V) \ |
47 V(Select) \ | 47 V(Select) \ |
48 V(Phi) \ | 48 V(Phi) \ |
49 V(EffectPhi) \ | 49 V(EffectPhi) \ |
50 V(Checkpoint) \ | 50 V(InductionVariablePhi) \ |
51 V(BeginRegion) \ | 51 V(Checkpoint) \ |
52 V(FinishRegion) \ | 52 V(BeginRegion) \ |
53 V(FrameState) \ | 53 V(FinishRegion) \ |
54 V(StateValues) \ | 54 V(FrameState) \ |
55 V(TypedStateValues) \ | 55 V(StateValues) \ |
56 V(ObjectState) \ | 56 V(TypedStateValues) \ |
57 V(Call) \ | 57 V(ObjectState) \ |
58 V(Parameter) \ | 58 V(Call) \ |
59 V(OsrValue) \ | 59 V(Parameter) \ |
60 V(LoopExit) \ | 60 V(OsrValue) \ |
61 V(LoopExitValue) \ | 61 V(LoopExit) \ |
62 V(LoopExitEffect) \ | 62 V(LoopExitValue) \ |
| 63 V(LoopExitEffect) \ |
63 V(Projection) | 64 V(Projection) |
64 | 65 |
65 #define COMMON_OP_LIST(V) \ | 66 #define COMMON_OP_LIST(V) \ |
66 CONSTANT_OP_LIST(V) \ | 67 CONSTANT_OP_LIST(V) \ |
67 INNER_OP_LIST(V) \ | 68 INNER_OP_LIST(V) \ |
68 V(Dead) | 69 V(Dead) |
69 | 70 |
70 // Opcodes for JavaScript operators. | 71 // Opcodes for JavaScript operators. |
71 #define JS_COMPARE_BINOP_LIST(V) \ | 72 #define JS_COMPARE_BINOP_LIST(V) \ |
72 V(JSEqual) \ | 73 V(JSEqual) \ |
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
730 } | 731 } |
731 }; | 732 }; |
732 | 733 |
733 std::ostream& operator<<(std::ostream&, IrOpcode::Value); | 734 std::ostream& operator<<(std::ostream&, IrOpcode::Value); |
734 | 735 |
735 } // namespace compiler | 736 } // namespace compiler |
736 } // namespace internal | 737 } // namespace internal |
737 } // namespace v8 | 738 } // namespace v8 |
738 | 739 |
739 #endif // V8_COMPILER_OPCODES_H_ | 740 #endif // V8_COMPILER_OPCODES_H_ |
OLD | NEW |