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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 V(InvokeFunction) \ | 116 V(InvokeFunction) \ |
117 V(IsConstructCallAndBranch) \ | 117 V(IsConstructCallAndBranch) \ |
118 V(IsNilAndBranch) \ | 118 V(IsNilAndBranch) \ |
119 V(IsObjectAndBranch) \ | 119 V(IsObjectAndBranch) \ |
120 V(IsStringAndBranch) \ | 120 V(IsStringAndBranch) \ |
121 V(IsSmiAndBranch) \ | 121 V(IsSmiAndBranch) \ |
122 V(IsUndetectableAndBranch) \ | 122 V(IsUndetectableAndBranch) \ |
123 V(Label) \ | 123 V(Label) \ |
124 V(LazyBailout) \ | 124 V(LazyBailout) \ |
125 V(LoadContextSlot) \ | 125 V(LoadContextSlot) \ |
126 V(LoadElements) \ | |
127 V(LoadExternalArrayPointer) \ | 126 V(LoadExternalArrayPointer) \ |
128 V(LoadFunctionPrototype) \ | 127 V(LoadFunctionPrototype) \ |
129 V(LoadGlobalCell) \ | 128 V(LoadGlobalCell) \ |
130 V(LoadGlobalGeneric) \ | 129 V(LoadGlobalGeneric) \ |
131 V(LoadKeyed) \ | 130 V(LoadKeyed) \ |
132 V(LoadKeyedGeneric) \ | 131 V(LoadKeyedGeneric) \ |
133 V(LoadNamedField) \ | 132 V(LoadNamedField) \ |
134 V(LoadNamedFieldPolymorphic) \ | 133 V(LoadNamedFieldPolymorphic) \ |
135 V(LoadNamedGeneric) \ | 134 V(LoadNamedGeneric) \ |
136 V(MathAbs) \ | 135 V(MathAbs) \ |
(...skipping 1370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1507 inputs_[0] = function; | 1506 inputs_[0] = function; |
1508 } | 1507 } |
1509 | 1508 |
1510 DECLARE_CONCRETE_INSTRUCTION(LoadFunctionPrototype, "load-function-prototype") | 1509 DECLARE_CONCRETE_INSTRUCTION(LoadFunctionPrototype, "load-function-prototype") |
1511 DECLARE_HYDROGEN_ACCESSOR(LoadFunctionPrototype) | 1510 DECLARE_HYDROGEN_ACCESSOR(LoadFunctionPrototype) |
1512 | 1511 |
1513 LOperand* function() { return inputs_[0]; } | 1512 LOperand* function() { return inputs_[0]; } |
1514 }; | 1513 }; |
1515 | 1514 |
1516 | 1515 |
1517 class LLoadElements: public LTemplateInstruction<1, 1, 0> { | |
1518 public: | |
1519 explicit LLoadElements(LOperand* object) { | |
1520 inputs_[0] = object; | |
1521 } | |
1522 | |
1523 LOperand* object() { return inputs_[0]; } | |
1524 | |
1525 DECLARE_CONCRETE_INSTRUCTION(LoadElements, "load-elements") | |
1526 }; | |
1527 | |
1528 | |
1529 class LLoadExternalArrayPointer: public LTemplateInstruction<1, 1, 0> { | 1516 class LLoadExternalArrayPointer: public LTemplateInstruction<1, 1, 0> { |
1530 public: | 1517 public: |
1531 explicit LLoadExternalArrayPointer(LOperand* object) { | 1518 explicit LLoadExternalArrayPointer(LOperand* object) { |
1532 inputs_[0] = object; | 1519 inputs_[0] = object; |
1533 } | 1520 } |
1534 | 1521 |
1535 LOperand* object() { return inputs_[0]; } | 1522 LOperand* object() { return inputs_[0]; } |
1536 | 1523 |
1537 DECLARE_CONCRETE_INSTRUCTION(LoadExternalArrayPointer, | 1524 DECLARE_CONCRETE_INSTRUCTION(LoadExternalArrayPointer, |
1538 "load-external-array-pointer") | 1525 "load-external-array-pointer") |
(...skipping 1215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2754 | 2741 |
2755 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2742 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2756 }; | 2743 }; |
2757 | 2744 |
2758 #undef DECLARE_HYDROGEN_ACCESSOR | 2745 #undef DECLARE_HYDROGEN_ACCESSOR |
2759 #undef DECLARE_CONCRETE_INSTRUCTION | 2746 #undef DECLARE_CONCRETE_INSTRUCTION |
2760 | 2747 |
2761 } } // namespace v8::int | 2748 } } // namespace v8::int |
2762 | 2749 |
2763 #endif // V8_X64_LITHIUM_X64_H_ | 2750 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |