OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 V(CallKeyed) \ | 59 V(CallKeyed) \ |
60 V(CallKnownGlobal) \ | 60 V(CallKnownGlobal) \ |
61 V(CallNamed) \ | 61 V(CallNamed) \ |
62 V(CallNew) \ | 62 V(CallNew) \ |
63 V(CallNewArray) \ | 63 V(CallNewArray) \ |
64 V(CallRuntime) \ | 64 V(CallRuntime) \ |
65 V(CallStub) \ | 65 V(CallStub) \ |
66 V(CheckFunction) \ | 66 V(CheckFunction) \ |
67 V(CheckInstanceType) \ | 67 V(CheckInstanceType) \ |
68 V(CheckMaps) \ | 68 V(CheckMaps) \ |
| 69 V(CheckMapValue) \ |
69 V(CheckNonSmi) \ | 70 V(CheckNonSmi) \ |
70 V(CheckPrototypeMaps) \ | 71 V(CheckPrototypeMaps) \ |
71 V(CheckSmi) \ | 72 V(CheckSmi) \ |
72 V(ClampDToUint8) \ | 73 V(ClampDToUint8) \ |
73 V(ClampIToUint8) \ | 74 V(ClampIToUint8) \ |
74 V(ClampTToUint8) \ | 75 V(ClampTToUint8) \ |
75 V(ClampTToUint8NoSSE2) \ | 76 V(ClampTToUint8NoSSE2) \ |
76 V(ClassOfTestAndBranch) \ | 77 V(ClassOfTestAndBranch) \ |
77 V(CompareNumericAndBranch) \ | 78 V(CompareNumericAndBranch) \ |
78 V(CmpObjectEqAndBranch) \ | 79 V(CmpObjectEqAndBranch) \ |
79 V(CmpMapAndBranch) \ | 80 V(CmpMapAndBranch) \ |
80 V(CmpT) \ | 81 V(CmpT) \ |
81 V(CmpConstantEqAndBranch) \ | 82 V(CmpConstantEqAndBranch) \ |
82 V(ConstantD) \ | 83 V(ConstantD) \ |
83 V(ConstantI) \ | 84 V(ConstantI) \ |
84 V(ConstantS) \ | 85 V(ConstantS) \ |
85 V(ConstantT) \ | 86 V(ConstantT) \ |
86 V(Context) \ | 87 V(Context) \ |
| 88 V(DateField) \ |
87 V(DebugBreak) \ | 89 V(DebugBreak) \ |
88 V(DeclareGlobals) \ | 90 V(DeclareGlobals) \ |
89 V(Deoptimize) \ | 91 V(Deoptimize) \ |
90 V(DivI) \ | 92 V(DivI) \ |
91 V(DoubleToI) \ | 93 V(DoubleToI) \ |
92 V(DoubleToSmi) \ | 94 V(DoubleToSmi) \ |
| 95 V(Drop) \ |
93 V(DummyUse) \ | 96 V(DummyUse) \ |
94 V(ElementsKind) \ | 97 V(ElementsKind) \ |
| 98 V(ForInCacheArray) \ |
| 99 V(ForInPrepareMap) \ |
95 V(FunctionLiteral) \ | 100 V(FunctionLiteral) \ |
96 V(GetCachedArrayIndex) \ | 101 V(GetCachedArrayIndex) \ |
97 V(GlobalObject) \ | 102 V(GlobalObject) \ |
98 V(GlobalReceiver) \ | 103 V(GlobalReceiver) \ |
99 V(Goto) \ | 104 V(Goto) \ |
100 V(HasCachedArrayIndexAndBranch) \ | 105 V(HasCachedArrayIndexAndBranch) \ |
101 V(HasInstanceTypeAndBranch) \ | 106 V(HasInstanceTypeAndBranch) \ |
| 107 V(InnerAllocatedObject) \ |
102 V(InstanceOf) \ | 108 V(InstanceOf) \ |
103 V(InstanceOfKnownGlobal) \ | 109 V(InstanceOfKnownGlobal) \ |
104 V(InstanceSize) \ | 110 V(InstanceSize) \ |
105 V(InstructionGap) \ | 111 V(InstructionGap) \ |
106 V(Integer32ToDouble) \ | 112 V(Integer32ToDouble) \ |
107 V(Integer32ToSmi) \ | 113 V(Integer32ToSmi) \ |
108 V(Uint32ToDouble) \ | |
109 V(InvokeFunction) \ | 114 V(InvokeFunction) \ |
110 V(IsConstructCallAndBranch) \ | 115 V(IsConstructCallAndBranch) \ |
111 V(IsObjectAndBranch) \ | 116 V(IsObjectAndBranch) \ |
112 V(IsStringAndBranch) \ | 117 V(IsStringAndBranch) \ |
113 V(IsSmiAndBranch) \ | 118 V(IsSmiAndBranch) \ |
114 V(IsNumberAndBranch) \ | 119 V(IsNumberAndBranch) \ |
115 V(IsUndetectableAndBranch) \ | 120 V(IsUndetectableAndBranch) \ |
116 V(Label) \ | 121 V(Label) \ |
117 V(LazyBailout) \ | 122 V(LazyBailout) \ |
118 V(LinkObjectInList) \ | 123 V(LinkObjectInList) \ |
119 V(LoadContextSlot) \ | 124 V(LoadContextSlot) \ |
120 V(LoadExternalArrayPointer) \ | 125 V(LoadExternalArrayPointer) \ |
| 126 V(LoadFieldByIndex) \ |
121 V(LoadFunctionPrototype) \ | 127 V(LoadFunctionPrototype) \ |
122 V(LoadGlobalCell) \ | 128 V(LoadGlobalCell) \ |
123 V(LoadGlobalGeneric) \ | 129 V(LoadGlobalGeneric) \ |
124 V(LoadKeyed) \ | 130 V(LoadKeyed) \ |
125 V(LoadKeyedGeneric) \ | 131 V(LoadKeyedGeneric) \ |
126 V(LoadNamedField) \ | 132 V(LoadNamedField) \ |
127 V(LoadNamedFieldPolymorphic) \ | 133 V(LoadNamedFieldPolymorphic) \ |
128 V(LoadNamedGeneric) \ | 134 V(LoadNamedGeneric) \ |
129 V(MapEnumLength) \ | 135 V(MapEnumLength) \ |
130 V(MathAbs) \ | 136 V(MathAbs) \ |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 V(SubI) \ | 179 V(SubI) \ |
174 V(TaggedToI) \ | 180 V(TaggedToI) \ |
175 V(TaggedToINoSSE2) \ | 181 V(TaggedToINoSSE2) \ |
176 V(ThisFunction) \ | 182 V(ThisFunction) \ |
177 V(Throw) \ | 183 V(Throw) \ |
178 V(ToFastProperties) \ | 184 V(ToFastProperties) \ |
179 V(TransitionElementsKind) \ | 185 V(TransitionElementsKind) \ |
180 V(TrapAllocationMemento) \ | 186 V(TrapAllocationMemento) \ |
181 V(Typeof) \ | 187 V(Typeof) \ |
182 V(TypeofIsAndBranch) \ | 188 V(TypeofIsAndBranch) \ |
| 189 V(Uint32ToDouble) \ |
183 V(UnknownOSRValue) \ | 190 V(UnknownOSRValue) \ |
184 V(ValueOf) \ | 191 V(ValueOf) \ |
185 V(ForInPrepareMap) \ | 192 V(WrapReceiver) |
186 V(ForInCacheArray) \ | |
187 V(CheckMapValue) \ | |
188 V(LoadFieldByIndex) \ | |
189 V(DateField) \ | |
190 V(WrapReceiver) \ | |
191 V(Drop) \ | |
192 V(InnerAllocatedObject) | |
193 | 193 |
194 | 194 |
195 #define DECLARE_CONCRETE_INSTRUCTION(type, mnemonic) \ | 195 #define DECLARE_CONCRETE_INSTRUCTION(type, mnemonic) \ |
196 virtual Opcode opcode() const { return LInstruction::k##type; } \ | 196 virtual Opcode opcode() const { return LInstruction::k##type; } \ |
197 virtual void CompileToNative(LCodeGen* generator); \ | 197 virtual void CompileToNative(LCodeGen* generator); \ |
198 virtual const char* Mnemonic() const { return mnemonic; } \ | 198 virtual const char* Mnemonic() const { return mnemonic; } \ |
199 static L##type* cast(LInstruction* instr) { \ | 199 static L##type* cast(LInstruction* instr) { \ |
200 ASSERT(instr->Is##type()); \ | 200 ASSERT(instr->Is##type()); \ |
201 return reinterpret_cast<L##type*>(instr); \ | 201 return reinterpret_cast<L##type*>(instr); \ |
202 } | 202 } |
(...skipping 2751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2954 | 2954 |
2955 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2955 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2956 }; | 2956 }; |
2957 | 2957 |
2958 #undef DECLARE_HYDROGEN_ACCESSOR | 2958 #undef DECLARE_HYDROGEN_ACCESSOR |
2959 #undef DECLARE_CONCRETE_INSTRUCTION | 2959 #undef DECLARE_CONCRETE_INSTRUCTION |
2960 | 2960 |
2961 } } // namespace v8::internal | 2961 } } // namespace v8::internal |
2962 | 2962 |
2963 #endif // V8_IA32_LITHIUM_IA32_H_ | 2963 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |