| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 V(Label) \ | 117 V(Label) \ |
| 118 V(LazyBailout) \ | 118 V(LazyBailout) \ |
| 119 V(LoadContextSlot) \ | 119 V(LoadContextSlot) \ |
| 120 V(LoadElements) \ | 120 V(LoadElements) \ |
| 121 V(LoadFunctionPrototype) \ | 121 V(LoadFunctionPrototype) \ |
| 122 V(LoadGlobal) \ | 122 V(LoadGlobal) \ |
| 123 V(LoadKeyedFastElement) \ | 123 V(LoadKeyedFastElement) \ |
| 124 V(LoadKeyedGeneric) \ | 124 V(LoadKeyedGeneric) \ |
| 125 V(LoadNamedField) \ | 125 V(LoadNamedField) \ |
| 126 V(LoadNamedGeneric) \ | 126 V(LoadNamedGeneric) \ |
| 127 V(LoadPixelArrayElement) \ |
| 128 V(LoadPixelArrayExternalPointer) \ |
| 127 V(ModI) \ | 129 V(ModI) \ |
| 128 V(MulI) \ | 130 V(MulI) \ |
| 129 V(NumberTagD) \ | 131 V(NumberTagD) \ |
| 130 V(NumberTagI) \ | 132 V(NumberTagI) \ |
| 131 V(NumberUntagD) \ | 133 V(NumberUntagD) \ |
| 132 V(ObjectLiteral) \ | 134 V(ObjectLiteral) \ |
| 133 V(OsrEntry) \ | 135 V(OsrEntry) \ |
| 134 V(OuterContext) \ | 136 V(OuterContext) \ |
| 135 V(Parameter) \ | 137 V(Parameter) \ |
| 138 V(PixelArrayLength) \ |
| 136 V(Power) \ | 139 V(Power) \ |
| 137 V(PushArgument) \ | 140 V(PushArgument) \ |
| 138 V(RegExpLiteral) \ | 141 V(RegExpLiteral) \ |
| 139 V(Return) \ | 142 V(Return) \ |
| 140 V(ShiftI) \ | 143 V(ShiftI) \ |
| 141 V(SmiTag) \ | 144 V(SmiTag) \ |
| 142 V(SmiUntag) \ | 145 V(SmiUntag) \ |
| 143 V(StackCheck) \ | 146 V(StackCheck) \ |
| 144 V(StoreContextSlot) \ | 147 V(StoreContextSlot) \ |
| 145 V(StoreGlobal) \ | 148 V(StoreGlobal) \ |
| (...skipping 869 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1015 public: | 1018 public: |
| 1016 explicit LJSArrayLength(LOperand* value) { | 1019 explicit LJSArrayLength(LOperand* value) { |
| 1017 inputs_[0] = value; | 1020 inputs_[0] = value; |
| 1018 } | 1021 } |
| 1019 | 1022 |
| 1020 DECLARE_CONCRETE_INSTRUCTION(JSArrayLength, "js-array-length") | 1023 DECLARE_CONCRETE_INSTRUCTION(JSArrayLength, "js-array-length") |
| 1021 DECLARE_HYDROGEN_ACCESSOR(JSArrayLength) | 1024 DECLARE_HYDROGEN_ACCESSOR(JSArrayLength) |
| 1022 }; | 1025 }; |
| 1023 | 1026 |
| 1024 | 1027 |
| 1028 class LPixelArrayLength: public LTemplateInstruction<1, 1, 0> { |
| 1029 public: |
| 1030 explicit LPixelArrayLength(LOperand* value) { |
| 1031 inputs_[0] = value; |
| 1032 } |
| 1033 |
| 1034 DECLARE_CONCRETE_INSTRUCTION(PixelArrayLength, "pixel-array-length") |
| 1035 DECLARE_HYDROGEN_ACCESSOR(PixelArrayLength) |
| 1036 }; |
| 1037 |
| 1038 |
| 1025 class LFixedArrayLength: public LTemplateInstruction<1, 1, 0> { | 1039 class LFixedArrayLength: public LTemplateInstruction<1, 1, 0> { |
| 1026 public: | 1040 public: |
| 1027 explicit LFixedArrayLength(LOperand* value) { | 1041 explicit LFixedArrayLength(LOperand* value) { |
| 1028 inputs_[0] = value; | 1042 inputs_[0] = value; |
| 1029 } | 1043 } |
| 1030 | 1044 |
| 1031 DECLARE_CONCRETE_INSTRUCTION(FixedArrayLength, "fixed-array-length") | 1045 DECLARE_CONCRETE_INSTRUCTION(FixedArrayLength, "fixed-array-length") |
| 1032 DECLARE_HYDROGEN_ACCESSOR(FixedArrayLength) | 1046 DECLARE_HYDROGEN_ACCESSOR(FixedArrayLength) |
| 1033 }; | 1047 }; |
| 1034 | 1048 |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1179 class LLoadElements: public LTemplateInstruction<1, 1, 0> { | 1193 class LLoadElements: public LTemplateInstruction<1, 1, 0> { |
| 1180 public: | 1194 public: |
| 1181 explicit LLoadElements(LOperand* object) { | 1195 explicit LLoadElements(LOperand* object) { |
| 1182 inputs_[0] = object; | 1196 inputs_[0] = object; |
| 1183 } | 1197 } |
| 1184 | 1198 |
| 1185 DECLARE_CONCRETE_INSTRUCTION(LoadElements, "load-elements") | 1199 DECLARE_CONCRETE_INSTRUCTION(LoadElements, "load-elements") |
| 1186 }; | 1200 }; |
| 1187 | 1201 |
| 1188 | 1202 |
| 1203 class LLoadPixelArrayExternalPointer: public LTemplateInstruction<1, 1, 0> { |
| 1204 public: |
| 1205 explicit LLoadPixelArrayExternalPointer(LOperand* object) { |
| 1206 inputs_[0] = object; |
| 1207 } |
| 1208 |
| 1209 DECLARE_CONCRETE_INSTRUCTION(LoadPixelArrayExternalPointer, |
| 1210 "load-pixel-array-external-pointer") |
| 1211 }; |
| 1212 |
| 1213 |
| 1189 class LLoadKeyedFastElement: public LTemplateInstruction<1, 2, 0> { | 1214 class LLoadKeyedFastElement: public LTemplateInstruction<1, 2, 0> { |
| 1190 public: | 1215 public: |
| 1191 LLoadKeyedFastElement(LOperand* elements, LOperand* key) { | 1216 LLoadKeyedFastElement(LOperand* elements, LOperand* key) { |
| 1192 inputs_[0] = elements; | 1217 inputs_[0] = elements; |
| 1193 inputs_[1] = key; | 1218 inputs_[1] = key; |
| 1194 } | 1219 } |
| 1195 | 1220 |
| 1196 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedFastElement, "load-keyed-fast-element") | 1221 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedFastElement, "load-keyed-fast-element") |
| 1197 DECLARE_HYDROGEN_ACCESSOR(LoadKeyedFastElement) | 1222 DECLARE_HYDROGEN_ACCESSOR(LoadKeyedFastElement) |
| 1198 | 1223 |
| 1199 LOperand* elements() { return inputs_[0]; } | 1224 LOperand* elements() { return inputs_[0]; } |
| 1200 LOperand* key() { return inputs_[1]; } | 1225 LOperand* key() { return inputs_[1]; } |
| 1201 }; | 1226 }; |
| 1202 | 1227 |
| 1203 | 1228 |
| 1229 class LLoadPixelArrayElement: public LTemplateInstruction<1, 2, 0> { |
| 1230 public: |
| 1231 LLoadPixelArrayElement(LOperand* external_pointer, LOperand* key) { |
| 1232 inputs_[0] = external_pointer; |
| 1233 inputs_[1] = key; |
| 1234 } |
| 1235 |
| 1236 DECLARE_CONCRETE_INSTRUCTION(LoadPixelArrayElement, |
| 1237 "load-pixel-array-element") |
| 1238 DECLARE_HYDROGEN_ACCESSOR(LoadPixelArrayElement) |
| 1239 |
| 1240 LOperand* external_pointer() { return inputs_[0]; } |
| 1241 LOperand* key() { return inputs_[1]; } |
| 1242 }; |
| 1243 |
| 1244 |
| 1204 class LLoadKeyedGeneric: public LTemplateInstruction<1, 3, 0> { | 1245 class LLoadKeyedGeneric: public LTemplateInstruction<1, 3, 0> { |
| 1205 public: | 1246 public: |
| 1206 LLoadKeyedGeneric(LOperand* context, LOperand* obj, LOperand* key) { | 1247 LLoadKeyedGeneric(LOperand* context, LOperand* obj, LOperand* key) { |
| 1207 inputs_[0] = context; | 1248 inputs_[0] = context; |
| 1208 inputs_[1] = obj; | 1249 inputs_[1] = obj; |
| 1209 inputs_[2] = key; | 1250 inputs_[2] = key; |
| 1210 } | 1251 } |
| 1211 | 1252 |
| 1212 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedGeneric, "load-keyed-generic") | 1253 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedGeneric, "load-keyed-generic") |
| 1213 | 1254 |
| (...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2072 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2113 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2073 }; | 2114 }; |
| 2074 | 2115 |
| 2075 #undef DECLARE_HYDROGEN_ACCESSOR | 2116 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2076 #undef DECLARE_INSTRUCTION | 2117 #undef DECLARE_INSTRUCTION |
| 2077 #undef DECLARE_CONCRETE_INSTRUCTION | 2118 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2078 | 2119 |
| 2079 } } // namespace v8::internal | 2120 } } // namespace v8::internal |
| 2080 | 2121 |
| 2081 #endif // V8_IA32_LITHIUM_IA32_H_ | 2122 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |