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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 V(LoadContextSlot) \ | 123 V(LoadContextSlot) \ |
124 V(LoadExternalArrayPointer) \ | 124 V(LoadExternalArrayPointer) \ |
125 V(LoadFieldByIndex) \ | 125 V(LoadFieldByIndex) \ |
126 V(LoadFunctionPrototype) \ | 126 V(LoadFunctionPrototype) \ |
127 V(LoadGlobalCell) \ | 127 V(LoadGlobalCell) \ |
128 V(LoadGlobalGeneric) \ | 128 V(LoadGlobalGeneric) \ |
129 V(LoadKeyed) \ | 129 V(LoadKeyed) \ |
130 V(LoadKeyedGeneric) \ | 130 V(LoadKeyedGeneric) \ |
131 V(LoadNamedField) \ | 131 V(LoadNamedField) \ |
132 V(LoadNamedGeneric) \ | 132 V(LoadNamedGeneric) \ |
| 133 V(LoadRoot) \ |
133 V(MapEnumLength) \ | 134 V(MapEnumLength) \ |
134 V(MathAbs) \ | 135 V(MathAbs) \ |
135 V(MathCos) \ | 136 V(MathCos) \ |
136 V(MathExp) \ | 137 V(MathExp) \ |
137 V(MathFloor) \ | 138 V(MathFloor) \ |
138 V(MathFloorOfDiv) \ | 139 V(MathFloorOfDiv) \ |
139 V(MathLog) \ | 140 V(MathLog) \ |
140 V(MathMinMax) \ | 141 V(MathMinMax) \ |
141 V(MathPowHalf) \ | 142 V(MathPowHalf) \ |
142 V(MathRound) \ | 143 V(MathRound) \ |
(...skipping 1455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1598 } | 1599 } |
1599 | 1600 |
1600 LOperand* function() { return inputs_[0]; } | 1601 LOperand* function() { return inputs_[0]; } |
1601 LOperand* temp() { return temps_[0]; } | 1602 LOperand* temp() { return temps_[0]; } |
1602 | 1603 |
1603 DECLARE_CONCRETE_INSTRUCTION(LoadFunctionPrototype, "load-function-prototype") | 1604 DECLARE_CONCRETE_INSTRUCTION(LoadFunctionPrototype, "load-function-prototype") |
1604 DECLARE_HYDROGEN_ACCESSOR(LoadFunctionPrototype) | 1605 DECLARE_HYDROGEN_ACCESSOR(LoadFunctionPrototype) |
1605 }; | 1606 }; |
1606 | 1607 |
1607 | 1608 |
| 1609 class LLoadRoot V8_FINAL : public LTemplateInstruction<1, 0, 0> { |
| 1610 public: |
| 1611 DECLARE_CONCRETE_INSTRUCTION(LoadRoot, "load-root") |
| 1612 DECLARE_HYDROGEN_ACCESSOR(LoadRoot) |
| 1613 |
| 1614 Heap::RootListIndex index() const { return hydrogen()->index(); } |
| 1615 }; |
| 1616 |
| 1617 |
1608 class LLoadExternalArrayPointer V8_FINAL | 1618 class LLoadExternalArrayPointer V8_FINAL |
1609 : public LTemplateInstruction<1, 1, 0> { | 1619 : public LTemplateInstruction<1, 1, 0> { |
1610 public: | 1620 public: |
1611 explicit LLoadExternalArrayPointer(LOperand* object) { | 1621 explicit LLoadExternalArrayPointer(LOperand* object) { |
1612 inputs_[0] = object; | 1622 inputs_[0] = object; |
1613 } | 1623 } |
1614 | 1624 |
1615 LOperand* object() { return inputs_[0]; } | 1625 LOperand* object() { return inputs_[0]; } |
1616 | 1626 |
1617 DECLARE_CONCRETE_INSTRUCTION(LoadExternalArrayPointer, | 1627 DECLARE_CONCRETE_INSTRUCTION(LoadExternalArrayPointer, |
(...skipping 1309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2927 | 2937 |
2928 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2938 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2929 }; | 2939 }; |
2930 | 2940 |
2931 #undef DECLARE_HYDROGEN_ACCESSOR | 2941 #undef DECLARE_HYDROGEN_ACCESSOR |
2932 #undef DECLARE_CONCRETE_INSTRUCTION | 2942 #undef DECLARE_CONCRETE_INSTRUCTION |
2933 | 2943 |
2934 } } // namespace v8::internal | 2944 } } // namespace v8::internal |
2935 | 2945 |
2936 #endif // V8_IA32_LITHIUM_IA32_H_ | 2946 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |