| 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 V(Integer32ToSmi) \ | 111 V(Integer32ToSmi) \ |
| 112 V(InvokeFunction) \ | 112 V(InvokeFunction) \ |
| 113 V(IsConstructCallAndBranch) \ | 113 V(IsConstructCallAndBranch) \ |
| 114 V(IsObjectAndBranch) \ | 114 V(IsObjectAndBranch) \ |
| 115 V(IsStringAndBranch) \ | 115 V(IsStringAndBranch) \ |
| 116 V(IsSmiAndBranch) \ | 116 V(IsSmiAndBranch) \ |
| 117 V(IsUndetectableAndBranch) \ | 117 V(IsUndetectableAndBranch) \ |
| 118 V(Label) \ | 118 V(Label) \ |
| 119 V(LazyBailout) \ | 119 V(LazyBailout) \ |
| 120 V(LoadContextSlot) \ | 120 V(LoadContextSlot) \ |
| 121 V(LoadExternalArrayPointer) \ | |
| 122 V(LoadFieldByIndex) \ | 121 V(LoadFieldByIndex) \ |
| 123 V(LoadFunctionPrototype) \ | 122 V(LoadFunctionPrototype) \ |
| 124 V(LoadGlobalCell) \ | 123 V(LoadGlobalCell) \ |
| 125 V(LoadGlobalGeneric) \ | 124 V(LoadGlobalGeneric) \ |
| 126 V(LoadKeyed) \ | 125 V(LoadKeyed) \ |
| 127 V(LoadKeyedGeneric) \ | 126 V(LoadKeyedGeneric) \ |
| 128 V(LoadNamedField) \ | 127 V(LoadNamedField) \ |
| 129 V(LoadNamedGeneric) \ | 128 V(LoadNamedGeneric) \ |
| 130 V(LoadRoot) \ | 129 V(LoadRoot) \ |
| 131 V(MapEnumLength) \ | 130 V(MapEnumLength) \ |
| (...skipping 1412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1544 | 1543 |
| 1545 class LLoadRoot V8_FINAL : public LTemplateInstruction<1, 0, 0> { | 1544 class LLoadRoot V8_FINAL : public LTemplateInstruction<1, 0, 0> { |
| 1546 public: | 1545 public: |
| 1547 DECLARE_CONCRETE_INSTRUCTION(LoadRoot, "load-root") | 1546 DECLARE_CONCRETE_INSTRUCTION(LoadRoot, "load-root") |
| 1548 DECLARE_HYDROGEN_ACCESSOR(LoadRoot) | 1547 DECLARE_HYDROGEN_ACCESSOR(LoadRoot) |
| 1549 | 1548 |
| 1550 Heap::RootListIndex index() const { return hydrogen()->index(); } | 1549 Heap::RootListIndex index() const { return hydrogen()->index(); } |
| 1551 }; | 1550 }; |
| 1552 | 1551 |
| 1553 | 1552 |
| 1554 class LLoadExternalArrayPointer V8_FINAL | |
| 1555 : public LTemplateInstruction<1, 1, 0> { | |
| 1556 public: | |
| 1557 explicit LLoadExternalArrayPointer(LOperand* object) { | |
| 1558 inputs_[0] = object; | |
| 1559 } | |
| 1560 | |
| 1561 LOperand* object() { return inputs_[0]; } | |
| 1562 | |
| 1563 DECLARE_CONCRETE_INSTRUCTION(LoadExternalArrayPointer, | |
| 1564 "load-external-array-pointer") | |
| 1565 }; | |
| 1566 | |
| 1567 | |
| 1568 class LLoadKeyed V8_FINAL : public LTemplateInstruction<1, 2, 0> { | 1553 class LLoadKeyed V8_FINAL : public LTemplateInstruction<1, 2, 0> { |
| 1569 public: | 1554 public: |
| 1570 LLoadKeyed(LOperand* elements, LOperand* key) { | 1555 LLoadKeyed(LOperand* elements, LOperand* key) { |
| 1571 inputs_[0] = elements; | 1556 inputs_[0] = elements; |
| 1572 inputs_[1] = key; | 1557 inputs_[1] = key; |
| 1573 } | 1558 } |
| 1574 LOperand* elements() { return inputs_[0]; } | 1559 LOperand* elements() { return inputs_[0]; } |
| 1575 LOperand* key() { return inputs_[1]; } | 1560 LOperand* key() { return inputs_[1]; } |
| 1576 ElementsKind elements_kind() const { | 1561 ElementsKind elements_kind() const { |
| 1577 return hydrogen()->elements_kind(); | 1562 return hydrogen()->elements_kind(); |
| (...skipping 1248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2826 | 2811 |
| 2827 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2812 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2828 }; | 2813 }; |
| 2829 | 2814 |
| 2830 #undef DECLARE_HYDROGEN_ACCESSOR | 2815 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2831 #undef DECLARE_CONCRETE_INSTRUCTION | 2816 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2832 | 2817 |
| 2833 } } // namespace v8::internal | 2818 } } // namespace v8::internal |
| 2834 | 2819 |
| 2835 #endif // V8_IA32_LITHIUM_IA32_H_ | 2820 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |