OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_IA32_LITHIUM_IA32_H_ | 5 #ifndef V8_IA32_LITHIUM_IA32_H_ |
6 #define V8_IA32_LITHIUM_IA32_H_ | 6 #define V8_IA32_LITHIUM_IA32_H_ |
7 | 7 |
8 #include "src/hydrogen.h" | 8 #include "src/hydrogen.h" |
9 #include "src/lithium.h" | 9 #include "src/lithium.h" |
10 #include "src/lithium-allocator.h" | 10 #include "src/lithium-allocator.h" |
(...skipping 1662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1673 inputs_[0] = context; | 1673 inputs_[0] = context; |
1674 inputs_[1] = obj; | 1674 inputs_[1] = obj; |
1675 inputs_[2] = key; | 1675 inputs_[2] = key; |
1676 } | 1676 } |
1677 | 1677 |
1678 LOperand* context() { return inputs_[0]; } | 1678 LOperand* context() { return inputs_[0]; } |
1679 LOperand* object() { return inputs_[1]; } | 1679 LOperand* object() { return inputs_[1]; } |
1680 LOperand* key() { return inputs_[2]; } | 1680 LOperand* key() { return inputs_[2]; } |
1681 | 1681 |
1682 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedGeneric, "load-keyed-generic") | 1682 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedGeneric, "load-keyed-generic") |
| 1683 DECLARE_HYDROGEN_ACCESSOR(LoadKeyedGeneric) |
1683 }; | 1684 }; |
1684 | 1685 |
1685 | 1686 |
1686 class LLoadGlobalCell V8_FINAL : public LTemplateInstruction<1, 0, 0> { | 1687 class LLoadGlobalCell V8_FINAL : public LTemplateInstruction<1, 0, 0> { |
1687 public: | 1688 public: |
1688 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalCell, "load-global-cell") | 1689 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalCell, "load-global-cell") |
1689 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalCell) | 1690 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalCell) |
1690 }; | 1691 }; |
1691 | 1692 |
1692 | 1693 |
(...skipping 1170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2863 | 2864 |
2864 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2865 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2865 }; | 2866 }; |
2866 | 2867 |
2867 #undef DECLARE_HYDROGEN_ACCESSOR | 2868 #undef DECLARE_HYDROGEN_ACCESSOR |
2868 #undef DECLARE_CONCRETE_INSTRUCTION | 2869 #undef DECLARE_CONCRETE_INSTRUCTION |
2869 | 2870 |
2870 } } // namespace v8::internal | 2871 } } // namespace v8::internal |
2871 | 2872 |
2872 #endif // V8_IA32_LITHIUM_IA32_H_ | 2873 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |