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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 V(IsConstructCallAndBranch) \ | 113 V(IsConstructCallAndBranch) \ |
114 V(IsObjectAndBranch) \ | 114 V(IsObjectAndBranch) \ |
115 V(IsStringAndBranch) \ | 115 V(IsStringAndBranch) \ |
116 V(IsNumberAndBranch) \ | 116 V(IsNumberAndBranch) \ |
117 V(IsSmiAndBranch) \ | 117 V(IsSmiAndBranch) \ |
118 V(IsUndetectableAndBranch) \ | 118 V(IsUndetectableAndBranch) \ |
119 V(Label) \ | 119 V(Label) \ |
120 V(LazyBailout) \ | 120 V(LazyBailout) \ |
121 V(LoadContextSlot) \ | 121 V(LoadContextSlot) \ |
122 V(LoadExternalArrayPointer) \ | 122 V(LoadExternalArrayPointer) \ |
| 123 V(LoadRoot) \ |
123 V(LoadFieldByIndex) \ | 124 V(LoadFieldByIndex) \ |
124 V(LoadFunctionPrototype) \ | 125 V(LoadFunctionPrototype) \ |
125 V(LoadGlobalCell) \ | 126 V(LoadGlobalCell) \ |
126 V(LoadGlobalGeneric) \ | 127 V(LoadGlobalGeneric) \ |
127 V(LoadKeyed) \ | 128 V(LoadKeyed) \ |
128 V(LoadKeyedGeneric) \ | 129 V(LoadKeyedGeneric) \ |
129 V(LoadNamedField) \ | 130 V(LoadNamedField) \ |
130 V(LoadNamedGeneric) \ | 131 V(LoadNamedGeneric) \ |
131 V(MapEnumLength) \ | 132 V(MapEnumLength) \ |
132 V(MathAbs) \ | 133 V(MathAbs) \ |
(...skipping 1453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1586 inputs_[0] = function; | 1587 inputs_[0] = function; |
1587 } | 1588 } |
1588 | 1589 |
1589 LOperand* function() { return inputs_[0]; } | 1590 LOperand* function() { return inputs_[0]; } |
1590 | 1591 |
1591 DECLARE_CONCRETE_INSTRUCTION(LoadFunctionPrototype, "load-function-prototype") | 1592 DECLARE_CONCRETE_INSTRUCTION(LoadFunctionPrototype, "load-function-prototype") |
1592 DECLARE_HYDROGEN_ACCESSOR(LoadFunctionPrototype) | 1593 DECLARE_HYDROGEN_ACCESSOR(LoadFunctionPrototype) |
1593 }; | 1594 }; |
1594 | 1595 |
1595 | 1596 |
| 1597 class LLoadRoot V8_FINAL : public LTemplateInstruction<1, 0, 0> { |
| 1598 public: |
| 1599 DECLARE_CONCRETE_INSTRUCTION(LoadRoot, "load-root") |
| 1600 DECLARE_HYDROGEN_ACCESSOR(LoadRoot) |
| 1601 |
| 1602 Heap::RootListIndex index() const { return hydrogen()->index(); } |
| 1603 }; |
| 1604 |
| 1605 |
1596 class LLoadExternalArrayPointer V8_FINAL | 1606 class LLoadExternalArrayPointer V8_FINAL |
1597 : public LTemplateInstruction<1, 1, 0> { | 1607 : public LTemplateInstruction<1, 1, 0> { |
1598 public: | 1608 public: |
1599 explicit LLoadExternalArrayPointer(LOperand* object) { | 1609 explicit LLoadExternalArrayPointer(LOperand* object) { |
1600 inputs_[0] = object; | 1610 inputs_[0] = object; |
1601 } | 1611 } |
1602 | 1612 |
1603 LOperand* object() { return inputs_[0]; } | 1613 LOperand* object() { return inputs_[0]; } |
1604 | 1614 |
1605 DECLARE_CONCRETE_INSTRUCTION(LoadExternalArrayPointer, | 1615 DECLARE_CONCRETE_INSTRUCTION(LoadExternalArrayPointer, |
(...skipping 1190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2796 | 2806 |
2797 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2807 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2798 }; | 2808 }; |
2799 | 2809 |
2800 #undef DECLARE_HYDROGEN_ACCESSOR | 2810 #undef DECLARE_HYDROGEN_ACCESSOR |
2801 #undef DECLARE_CONCRETE_INSTRUCTION | 2811 #undef DECLARE_CONCRETE_INSTRUCTION |
2802 | 2812 |
2803 } } // namespace v8::internal | 2813 } } // namespace v8::internal |
2804 | 2814 |
2805 #endif // V8_ARM_LITHIUM_ARM_H_ | 2815 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |