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 1689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1700 | 1700 |
1701 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedFastDoubleElement, | 1701 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedFastDoubleElement, |
1702 "store-keyed-fast-double-element") | 1702 "store-keyed-fast-double-element") |
1703 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedFastDoubleElement) | 1703 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedFastDoubleElement) |
1704 | 1704 |
1705 virtual void PrintDataTo(StringStream* stream); | 1705 virtual void PrintDataTo(StringStream* stream); |
1706 | 1706 |
1707 LOperand* elements() { return inputs_[0]; } | 1707 LOperand* elements() { return inputs_[0]; } |
1708 LOperand* key() { return inputs_[1]; } | 1708 LOperand* key() { return inputs_[1]; } |
1709 LOperand* value() { return inputs_[2]; } | 1709 LOperand* value() { return inputs_[2]; } |
| 1710 |
| 1711 bool NeedsCanonicalization() { return hydrogen()->NeedsCanonicalization(); } |
1710 }; | 1712 }; |
1711 | 1713 |
1712 | 1714 |
1713 class LStoreKeyedSpecializedArrayElement: public LTemplateInstruction<0, 3, 0> { | 1715 class LStoreKeyedSpecializedArrayElement: public LTemplateInstruction<0, 3, 0> { |
1714 public: | 1716 public: |
1715 LStoreKeyedSpecializedArrayElement(LOperand* external_pointer, | 1717 LStoreKeyedSpecializedArrayElement(LOperand* external_pointer, |
1716 LOperand* key, | 1718 LOperand* key, |
1717 LOperand* val) { | 1719 LOperand* val) { |
1718 inputs_[0] = external_pointer; | 1720 inputs_[0] = external_pointer; |
1719 inputs_[1] = key; | 1721 inputs_[1] = key; |
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2369 | 2371 |
2370 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2372 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2371 }; | 2373 }; |
2372 | 2374 |
2373 #undef DECLARE_HYDROGEN_ACCESSOR | 2375 #undef DECLARE_HYDROGEN_ACCESSOR |
2374 #undef DECLARE_CONCRETE_INSTRUCTION | 2376 #undef DECLARE_CONCRETE_INSTRUCTION |
2375 | 2377 |
2376 } } // namespace v8::int | 2378 } } // namespace v8::int |
2377 | 2379 |
2378 #endif // V8_X64_LITHIUM_X64_H_ | 2380 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |