| 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 1166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1177 inputs_[0] = external_pointer; | 1177 inputs_[0] = external_pointer; |
| 1178 inputs_[1] = key; | 1178 inputs_[1] = key; |
| 1179 } | 1179 } |
| 1180 | 1180 |
| 1181 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedSpecializedArrayElement, | 1181 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedSpecializedArrayElement, |
| 1182 "load-keyed-specialized-array-element") | 1182 "load-keyed-specialized-array-element") |
| 1183 DECLARE_HYDROGEN_ACCESSOR(LoadKeyedSpecializedArrayElement) | 1183 DECLARE_HYDROGEN_ACCESSOR(LoadKeyedSpecializedArrayElement) |
| 1184 | 1184 |
| 1185 LOperand* external_pointer() { return inputs_[0]; } | 1185 LOperand* external_pointer() { return inputs_[0]; } |
| 1186 LOperand* key() { return inputs_[1]; } | 1186 LOperand* key() { return inputs_[1]; } |
| 1187 JSObject::ElementsKind elements_kind() const { | 1187 ElementsKind elements_kind() const { |
| 1188 return hydrogen()->elements_kind(); | 1188 return hydrogen()->elements_kind(); |
| 1189 } | 1189 } |
| 1190 }; | 1190 }; |
| 1191 | 1191 |
| 1192 | 1192 |
| 1193 class LLoadKeyedGeneric: public LTemplateInstruction<1, 3, 0> { | 1193 class LLoadKeyedGeneric: public LTemplateInstruction<1, 3, 0> { |
| 1194 public: | 1194 public: |
| 1195 LLoadKeyedGeneric(LOperand* context, LOperand* obj, LOperand* key) { | 1195 LLoadKeyedGeneric(LOperand* context, LOperand* obj, LOperand* key) { |
| 1196 inputs_[0] = context; | 1196 inputs_[0] = context; |
| 1197 inputs_[1] = obj; | 1197 inputs_[1] = obj; |
| (...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1692 inputs_[2] = val; | 1692 inputs_[2] = val; |
| 1693 } | 1693 } |
| 1694 | 1694 |
| 1695 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedSpecializedArrayElement, | 1695 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedSpecializedArrayElement, |
| 1696 "store-keyed-specialized-array-element") | 1696 "store-keyed-specialized-array-element") |
| 1697 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedSpecializedArrayElement) | 1697 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedSpecializedArrayElement) |
| 1698 | 1698 |
| 1699 LOperand* external_pointer() { return inputs_[0]; } | 1699 LOperand* external_pointer() { return inputs_[0]; } |
| 1700 LOperand* key() { return inputs_[1]; } | 1700 LOperand* key() { return inputs_[1]; } |
| 1701 LOperand* value() { return inputs_[2]; } | 1701 LOperand* value() { return inputs_[2]; } |
| 1702 JSObject::ElementsKind elements_kind() const { | 1702 ElementsKind elements_kind() const { |
| 1703 return hydrogen()->elements_kind(); | 1703 return hydrogen()->elements_kind(); |
| 1704 } | 1704 } |
| 1705 }; | 1705 }; |
| 1706 | 1706 |
| 1707 | 1707 |
| 1708 class LStoreKeyedGeneric: public LTemplateInstruction<0, 4, 0> { | 1708 class LStoreKeyedGeneric: public LTemplateInstruction<0, 4, 0> { |
| 1709 public: | 1709 public: |
| 1710 LStoreKeyedGeneric(LOperand* context, | 1710 LStoreKeyedGeneric(LOperand* context, |
| 1711 LOperand* object, | 1711 LOperand* object, |
| 1712 LOperand* key, | 1712 LOperand* key, |
| (...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2286 | 2286 |
| 2287 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2287 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2288 }; | 2288 }; |
| 2289 | 2289 |
| 2290 #undef DECLARE_HYDROGEN_ACCESSOR | 2290 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2291 #undef DECLARE_CONCRETE_INSTRUCTION | 2291 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2292 | 2292 |
| 2293 } } // namespace v8::internal | 2293 } } // namespace v8::internal |
| 2294 | 2294 |
| 2295 #endif // V8_IA32_LITHIUM_IA32_H_ | 2295 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |