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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 V(Integer32ToSmi) \ | 109 V(Integer32ToSmi) \ |
110 V(InvokeFunction) \ | 110 V(InvokeFunction) \ |
111 V(IsConstructCallAndBranch) \ | 111 V(IsConstructCallAndBranch) \ |
112 V(IsObjectAndBranch) \ | 112 V(IsObjectAndBranch) \ |
113 V(IsStringAndBranch) \ | 113 V(IsStringAndBranch) \ |
114 V(IsSmiAndBranch) \ | 114 V(IsSmiAndBranch) \ |
115 V(IsUndetectableAndBranch) \ | 115 V(IsUndetectableAndBranch) \ |
116 V(Label) \ | 116 V(Label) \ |
117 V(LazyBailout) \ | 117 V(LazyBailout) \ |
118 V(LoadContextSlot) \ | 118 V(LoadContextSlot) \ |
119 V(LoadExternalArrayPointer) \ | |
120 V(LoadRoot) \ | 119 V(LoadRoot) \ |
121 V(LoadFieldByIndex) \ | 120 V(LoadFieldByIndex) \ |
122 V(LoadFunctionPrototype) \ | 121 V(LoadFunctionPrototype) \ |
123 V(LoadGlobalCell) \ | 122 V(LoadGlobalCell) \ |
124 V(LoadGlobalGeneric) \ | 123 V(LoadGlobalGeneric) \ |
125 V(LoadKeyed) \ | 124 V(LoadKeyed) \ |
126 V(LoadKeyedGeneric) \ | 125 V(LoadKeyedGeneric) \ |
127 V(LoadNamedField) \ | 126 V(LoadNamedField) \ |
128 V(LoadNamedGeneric) \ | 127 V(LoadNamedGeneric) \ |
129 V(MapEnumLength) \ | 128 V(MapEnumLength) \ |
(...skipping 1429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1559 | 1558 |
1560 class LLoadRoot V8_FINAL : public LTemplateInstruction<1, 0, 0> { | 1559 class LLoadRoot V8_FINAL : public LTemplateInstruction<1, 0, 0> { |
1561 public: | 1560 public: |
1562 DECLARE_CONCRETE_INSTRUCTION(LoadRoot, "load-root") | 1561 DECLARE_CONCRETE_INSTRUCTION(LoadRoot, "load-root") |
1563 DECLARE_HYDROGEN_ACCESSOR(LoadRoot) | 1562 DECLARE_HYDROGEN_ACCESSOR(LoadRoot) |
1564 | 1563 |
1565 Heap::RootListIndex index() const { return hydrogen()->index(); } | 1564 Heap::RootListIndex index() const { return hydrogen()->index(); } |
1566 }; | 1565 }; |
1567 | 1566 |
1568 | 1567 |
1569 class LLoadExternalArrayPointer V8_FINAL | |
1570 : public LTemplateInstruction<1, 1, 0> { | |
1571 public: | |
1572 explicit LLoadExternalArrayPointer(LOperand* object) { | |
1573 inputs_[0] = object; | |
1574 } | |
1575 | |
1576 LOperand* object() { return inputs_[0]; } | |
1577 | |
1578 DECLARE_CONCRETE_INSTRUCTION(LoadExternalArrayPointer, | |
1579 "load-external-array-pointer") | |
1580 }; | |
1581 | |
1582 | |
1583 class LLoadKeyed V8_FINAL : public LTemplateInstruction<1, 2, 0> { | 1568 class LLoadKeyed V8_FINAL : public LTemplateInstruction<1, 2, 0> { |
1584 public: | 1569 public: |
1585 LLoadKeyed(LOperand* elements, LOperand* key) { | 1570 LLoadKeyed(LOperand* elements, LOperand* key) { |
1586 inputs_[0] = elements; | 1571 inputs_[0] = elements; |
1587 inputs_[1] = key; | 1572 inputs_[1] = key; |
1588 } | 1573 } |
1589 | 1574 |
1590 LOperand* elements() { return inputs_[0]; } | 1575 LOperand* elements() { return inputs_[0]; } |
1591 LOperand* key() { return inputs_[1]; } | 1576 LOperand* key() { return inputs_[1]; } |
1592 ElementsKind elements_kind() const { | 1577 ElementsKind elements_kind() const { |
(...skipping 1215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2808 | 2793 |
2809 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2794 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2810 }; | 2795 }; |
2811 | 2796 |
2812 #undef DECLARE_HYDROGEN_ACCESSOR | 2797 #undef DECLARE_HYDROGEN_ACCESSOR |
2813 #undef DECLARE_CONCRETE_INSTRUCTION | 2798 #undef DECLARE_CONCRETE_INSTRUCTION |
2814 | 2799 |
2815 } } // namespace v8::internal | 2800 } } // namespace v8::internal |
2816 | 2801 |
2817 #endif // V8_ARM_LITHIUM_ARM_H_ | 2802 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |