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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 V(LazyBailout) \ | 120 V(LazyBailout) \ |
121 V(LoadContextSlot) \ | 121 V(LoadContextSlot) \ |
122 V(LoadExternalArrayPointer) \ | 122 V(LoadExternalArrayPointer) \ |
123 V(LoadFieldByIndex) \ | 123 V(LoadFieldByIndex) \ |
124 V(LoadFunctionPrototype) \ | 124 V(LoadFunctionPrototype) \ |
125 V(LoadGlobalCell) \ | 125 V(LoadGlobalCell) \ |
126 V(LoadGlobalGeneric) \ | 126 V(LoadGlobalGeneric) \ |
127 V(LoadKeyed) \ | 127 V(LoadKeyed) \ |
128 V(LoadKeyedGeneric) \ | 128 V(LoadKeyedGeneric) \ |
129 V(LoadNamedField) \ | 129 V(LoadNamedField) \ |
130 V(LoadNamedFieldPolymorphic) \ | |
131 V(LoadNamedGeneric) \ | 130 V(LoadNamedGeneric) \ |
132 V(MapEnumLength) \ | 131 V(MapEnumLength) \ |
133 V(MathAbs) \ | 132 V(MathAbs) \ |
134 V(MathCos) \ | 133 V(MathCos) \ |
135 V(MathExp) \ | 134 V(MathExp) \ |
136 V(MathFloor) \ | 135 V(MathFloor) \ |
137 V(MathFloorOfDiv) \ | 136 V(MathFloorOfDiv) \ |
138 V(MathLog) \ | 137 V(MathLog) \ |
139 V(MathMinMax) \ | 138 V(MathMinMax) \ |
140 V(MathPowHalf) \ | 139 V(MathPowHalf) \ |
(...skipping 1316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1457 inputs_[0] = object; | 1456 inputs_[0] = object; |
1458 } | 1457 } |
1459 | 1458 |
1460 LOperand* object() { return inputs_[0]; } | 1459 LOperand* object() { return inputs_[0]; } |
1461 | 1460 |
1462 DECLARE_CONCRETE_INSTRUCTION(LoadNamedField, "load-named-field") | 1461 DECLARE_CONCRETE_INSTRUCTION(LoadNamedField, "load-named-field") |
1463 DECLARE_HYDROGEN_ACCESSOR(LoadNamedField) | 1462 DECLARE_HYDROGEN_ACCESSOR(LoadNamedField) |
1464 }; | 1463 }; |
1465 | 1464 |
1466 | 1465 |
1467 class LLoadNamedFieldPolymorphic: public LTemplateInstruction<1, 1, 0> { | |
1468 public: | |
1469 explicit LLoadNamedFieldPolymorphic(LOperand* object) { | |
1470 inputs_[0] = object; | |
1471 } | |
1472 | |
1473 DECLARE_CONCRETE_INSTRUCTION(LoadNamedField, "load-named-field-polymorphic") | |
1474 DECLARE_HYDROGEN_ACCESSOR(LoadNamedFieldPolymorphic) | |
1475 | |
1476 LOperand* object() { return inputs_[0]; } | |
1477 }; | |
1478 | |
1479 | |
1480 class LLoadNamedGeneric: public LTemplateInstruction<1, 1, 0> { | 1466 class LLoadNamedGeneric: public LTemplateInstruction<1, 1, 0> { |
1481 public: | 1467 public: |
1482 explicit LLoadNamedGeneric(LOperand* object) { | 1468 explicit LLoadNamedGeneric(LOperand* object) { |
1483 inputs_[0] = object; | 1469 inputs_[0] = object; |
1484 } | 1470 } |
1485 | 1471 |
1486 DECLARE_CONCRETE_INSTRUCTION(LoadNamedGeneric, "load-named-generic") | 1472 DECLARE_CONCRETE_INSTRUCTION(LoadNamedGeneric, "load-named-generic") |
1487 DECLARE_HYDROGEN_ACCESSOR(LoadNamedGeneric) | 1473 DECLARE_HYDROGEN_ACCESSOR(LoadNamedGeneric) |
1488 | 1474 |
1489 LOperand* object() { return inputs_[0]; } | 1475 LOperand* object() { return inputs_[0]; } |
(...skipping 1177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2667 | 2653 |
2668 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2654 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2669 }; | 2655 }; |
2670 | 2656 |
2671 #undef DECLARE_HYDROGEN_ACCESSOR | 2657 #undef DECLARE_HYDROGEN_ACCESSOR |
2672 #undef DECLARE_CONCRETE_INSTRUCTION | 2658 #undef DECLARE_CONCRETE_INSTRUCTION |
2673 | 2659 |
2674 } } // namespace v8::int | 2660 } } // namespace v8::int |
2675 | 2661 |
2676 #endif // V8_X64_LITHIUM_X64_H_ | 2662 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |