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 1721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1732 | 1732 |
1733 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedFastDoubleElement, | 1733 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedFastDoubleElement, |
1734 "store-keyed-fast-double-element") | 1734 "store-keyed-fast-double-element") |
1735 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedFastDoubleElement) | 1735 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedFastDoubleElement) |
1736 | 1736 |
1737 virtual void PrintDataTo(StringStream* stream); | 1737 virtual void PrintDataTo(StringStream* stream); |
1738 | 1738 |
1739 LOperand* elements() { return inputs_[0]; } | 1739 LOperand* elements() { return inputs_[0]; } |
1740 LOperand* key() { return inputs_[1]; } | 1740 LOperand* key() { return inputs_[1]; } |
1741 LOperand* value() { return inputs_[2]; } | 1741 LOperand* value() { return inputs_[2]; } |
| 1742 |
| 1743 bool NeedsCanonicalization() { return hydrogen()->NeedsCanonicalization(); } |
1742 }; | 1744 }; |
1743 | 1745 |
1744 | 1746 |
1745 class LStoreKeyedGeneric: public LTemplateInstruction<0, 3, 0> { | 1747 class LStoreKeyedGeneric: public LTemplateInstruction<0, 3, 0> { |
1746 public: | 1748 public: |
1747 LStoreKeyedGeneric(LOperand* obj, LOperand* key, LOperand* val) { | 1749 LStoreKeyedGeneric(LOperand* obj, LOperand* key, LOperand* val) { |
1748 inputs_[0] = obj; | 1750 inputs_[0] = obj; |
1749 inputs_[1] = key; | 1751 inputs_[1] = key; |
1750 inputs_[2] = val; | 1752 inputs_[2] = val; |
1751 } | 1753 } |
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2403 | 2405 |
2404 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2406 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2405 }; | 2407 }; |
2406 | 2408 |
2407 #undef DECLARE_HYDROGEN_ACCESSOR | 2409 #undef DECLARE_HYDROGEN_ACCESSOR |
2408 #undef DECLARE_CONCRETE_INSTRUCTION | 2410 #undef DECLARE_CONCRETE_INSTRUCTION |
2409 | 2411 |
2410 } } // namespace v8::internal | 2412 } } // namespace v8::internal |
2411 | 2413 |
2412 #endif // V8_ARM_LITHIUM_ARM_H_ | 2414 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |