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 1769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1780 | 1780 |
1781 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedFastDoubleElement, | 1781 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedFastDoubleElement, |
1782 "store-keyed-fast-double-element") | 1782 "store-keyed-fast-double-element") |
1783 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedFastDoubleElement) | 1783 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedFastDoubleElement) |
1784 | 1784 |
1785 virtual void PrintDataTo(StringStream* stream); | 1785 virtual void PrintDataTo(StringStream* stream); |
1786 | 1786 |
1787 LOperand* elements() { return inputs_[0]; } | 1787 LOperand* elements() { return inputs_[0]; } |
1788 LOperand* key() { return inputs_[1]; } | 1788 LOperand* key() { return inputs_[1]; } |
1789 LOperand* value() { return inputs_[2]; } | 1789 LOperand* value() { return inputs_[2]; } |
| 1790 |
| 1791 bool NeedsCanonicalization() { return hydrogen()->NeedsCanonicalization(); } |
1790 }; | 1792 }; |
1791 | 1793 |
1792 | 1794 |
1793 class LStoreKeyedSpecializedArrayElement: public LTemplateInstruction<0, 3, 0> { | 1795 class LStoreKeyedSpecializedArrayElement: public LTemplateInstruction<0, 3, 0> { |
1794 public: | 1796 public: |
1795 LStoreKeyedSpecializedArrayElement(LOperand* external_pointer, | 1797 LStoreKeyedSpecializedArrayElement(LOperand* external_pointer, |
1796 LOperand* key, | 1798 LOperand* key, |
1797 LOperand* val) { | 1799 LOperand* val) { |
1798 inputs_[0] = external_pointer; | 1800 inputs_[0] = external_pointer; |
1799 inputs_[1] = key; | 1801 inputs_[1] = key; |
(...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2505 | 2507 |
2506 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2508 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2507 }; | 2509 }; |
2508 | 2510 |
2509 #undef DECLARE_HYDROGEN_ACCESSOR | 2511 #undef DECLARE_HYDROGEN_ACCESSOR |
2510 #undef DECLARE_CONCRETE_INSTRUCTION | 2512 #undef DECLARE_CONCRETE_INSTRUCTION |
2511 | 2513 |
2512 } } // namespace v8::internal | 2514 } } // namespace v8::internal |
2513 | 2515 |
2514 #endif // V8_IA32_LITHIUM_IA32_H_ | 2516 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |