| 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 1279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1290 inputs_[0] = external_pointer; | 1290 inputs_[0] = external_pointer; |
| 1291 inputs_[1] = key; | 1291 inputs_[1] = key; |
| 1292 } | 1292 } |
| 1293 | 1293 |
| 1294 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedSpecializedArrayElement, | 1294 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedSpecializedArrayElement, |
| 1295 "load-keyed-specialized-array-element") | 1295 "load-keyed-specialized-array-element") |
| 1296 DECLARE_HYDROGEN_ACCESSOR(LoadKeyedSpecializedArrayElement) | 1296 DECLARE_HYDROGEN_ACCESSOR(LoadKeyedSpecializedArrayElement) |
| 1297 | 1297 |
| 1298 LOperand* external_pointer() { return inputs_[0]; } | 1298 LOperand* external_pointer() { return inputs_[0]; } |
| 1299 LOperand* key() { return inputs_[1]; } | 1299 LOperand* key() { return inputs_[1]; } |
| 1300 ExternalArrayType array_type() const { | 1300 JSObject::ElementsKind elements_kind() const { |
| 1301 return hydrogen()->array_type(); | 1301 return hydrogen()->elements_kind(); |
| 1302 } | 1302 } |
| 1303 }; | 1303 }; |
| 1304 | 1304 |
| 1305 | 1305 |
| 1306 class LLoadKeyedGeneric: public LTemplateInstruction<1, 2, 0> { | 1306 class LLoadKeyedGeneric: public LTemplateInstruction<1, 2, 0> { |
| 1307 public: | 1307 public: |
| 1308 LLoadKeyedGeneric(LOperand* obj, LOperand* key) { | 1308 LLoadKeyedGeneric(LOperand* obj, LOperand* key) { |
| 1309 inputs_[0] = obj; | 1309 inputs_[0] = obj; |
| 1310 inputs_[1] = key; | 1310 inputs_[1] = key; |
| 1311 } | 1311 } |
| (...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1771 inputs_[2] = val; | 1771 inputs_[2] = val; |
| 1772 } | 1772 } |
| 1773 | 1773 |
| 1774 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedSpecializedArrayElement, | 1774 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedSpecializedArrayElement, |
| 1775 "store-keyed-specialized-array-element") | 1775 "store-keyed-specialized-array-element") |
| 1776 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedSpecializedArrayElement) | 1776 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedSpecializedArrayElement) |
| 1777 | 1777 |
| 1778 LOperand* external_pointer() { return inputs_[0]; } | 1778 LOperand* external_pointer() { return inputs_[0]; } |
| 1779 LOperand* key() { return inputs_[1]; } | 1779 LOperand* key() { return inputs_[1]; } |
| 1780 LOperand* value() { return inputs_[2]; } | 1780 LOperand* value() { return inputs_[2]; } |
| 1781 ExternalArrayType array_type() const { | 1781 JSObject::ElementsKind elements_kind() const { |
| 1782 return hydrogen()->array_type(); | 1782 return hydrogen()->elements_kind(); |
| 1783 } | 1783 } |
| 1784 }; | 1784 }; |
| 1785 | 1785 |
| 1786 | 1786 |
| 1787 class LStringAdd: public LTemplateInstruction<1, 2, 0> { | 1787 class LStringAdd: public LTemplateInstruction<1, 2, 0> { |
| 1788 public: | 1788 public: |
| 1789 LStringAdd(LOperand* left, LOperand* right) { | 1789 LStringAdd(LOperand* left, LOperand* right) { |
| 1790 inputs_[0] = left; | 1790 inputs_[0] = left; |
| 1791 inputs_[1] = right; | 1791 inputs_[1] = right; |
| 1792 } | 1792 } |
| (...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2318 | 2318 |
| 2319 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2319 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2320 }; | 2320 }; |
| 2321 | 2321 |
| 2322 #undef DECLARE_HYDROGEN_ACCESSOR | 2322 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2323 #undef DECLARE_CONCRETE_INSTRUCTION | 2323 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2324 | 2324 |
| 2325 } } // namespace v8::internal | 2325 } } // namespace v8::internal |
| 2326 | 2326 |
| 2327 #endif // V8_ARM_LITHIUM_ARM_H_ | 2327 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |