| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ | 5 #ifndef V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ |
| 6 #define V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ | 6 #define V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ |
| 7 | 7 |
| 8 #include "src/crankshaft/hydrogen.h" | 8 #include "src/crankshaft/hydrogen.h" |
| 9 #include "src/crankshaft/lithium.h" | 9 #include "src/crankshaft/lithium.h" |
| 10 #include "src/crankshaft/lithium-allocator.h" | 10 #include "src/crankshaft/lithium-allocator.h" |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 V(StoreNamedField) \ | 148 V(StoreNamedField) \ |
| 149 V(StoreNamedGeneric) \ | 149 V(StoreNamedGeneric) \ |
| 150 V(StringAdd) \ | 150 V(StringAdd) \ |
| 151 V(StringCharCodeAt) \ | 151 V(StringCharCodeAt) \ |
| 152 V(StringCharFromCode) \ | 152 V(StringCharFromCode) \ |
| 153 V(StringCompareAndBranch) \ | 153 V(StringCompareAndBranch) \ |
| 154 V(SubI) \ | 154 V(SubI) \ |
| 155 V(SubS) \ | 155 V(SubS) \ |
| 156 V(TaggedToI) \ | 156 V(TaggedToI) \ |
| 157 V(ThisFunction) \ | 157 V(ThisFunction) \ |
| 158 V(ToFastProperties) \ | |
| 159 V(TransitionElementsKind) \ | 158 V(TransitionElementsKind) \ |
| 160 V(TrapAllocationMemento) \ | 159 V(TrapAllocationMemento) \ |
| 161 V(TruncateDoubleToIntOrSmi) \ | 160 V(TruncateDoubleToIntOrSmi) \ |
| 162 V(Typeof) \ | 161 V(Typeof) \ |
| 163 V(TypeofIsAndBranch) \ | 162 V(TypeofIsAndBranch) \ |
| 164 V(Uint32ToDouble) \ | 163 V(Uint32ToDouble) \ |
| 165 V(UnknownOSRValue) \ | 164 V(UnknownOSRValue) \ |
| 166 V(WrapReceiver) | 165 V(WrapReceiver) |
| 167 | 166 |
| 168 | 167 |
| (...skipping 2517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2686 }; | 2685 }; |
| 2687 | 2686 |
| 2688 | 2687 |
| 2689 class LThisFunction final : public LTemplateInstruction<1, 0, 0> { | 2688 class LThisFunction final : public LTemplateInstruction<1, 0, 0> { |
| 2690 public: | 2689 public: |
| 2691 DECLARE_CONCRETE_INSTRUCTION(ThisFunction, "this-function") | 2690 DECLARE_CONCRETE_INSTRUCTION(ThisFunction, "this-function") |
| 2692 DECLARE_HYDROGEN_ACCESSOR(ThisFunction) | 2691 DECLARE_HYDROGEN_ACCESSOR(ThisFunction) |
| 2693 }; | 2692 }; |
| 2694 | 2693 |
| 2695 | 2694 |
| 2696 class LToFastProperties final : public LTemplateInstruction<1, 1, 0> { | |
| 2697 public: | |
| 2698 explicit LToFastProperties(LOperand* value) { | |
| 2699 inputs_[0] = value; | |
| 2700 } | |
| 2701 | |
| 2702 LOperand* value() { return inputs_[0]; } | |
| 2703 | |
| 2704 DECLARE_CONCRETE_INSTRUCTION(ToFastProperties, "to-fast-properties") | |
| 2705 DECLARE_HYDROGEN_ACCESSOR(ToFastProperties) | |
| 2706 }; | |
| 2707 | |
| 2708 | |
| 2709 class LTransitionElementsKind final : public LTemplateInstruction<0, 2, 2> { | 2695 class LTransitionElementsKind final : public LTemplateInstruction<0, 2, 2> { |
| 2710 public: | 2696 public: |
| 2711 LTransitionElementsKind(LOperand* object, | 2697 LTransitionElementsKind(LOperand* object, |
| 2712 LOperand* context, | 2698 LOperand* context, |
| 2713 LOperand* temp1, | 2699 LOperand* temp1, |
| 2714 LOperand* temp2) { | 2700 LOperand* temp2) { |
| 2715 inputs_[0] = object; | 2701 inputs_[0] = object; |
| 2716 inputs_[1] = context; | 2702 inputs_[1] = context; |
| 2717 temps_[0] = temp1; | 2703 temps_[0] = temp1; |
| 2718 temps_[1] = temp2; | 2704 temps_[1] = temp2; |
| (...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3044 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 3030 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 3045 }; | 3031 }; |
| 3046 | 3032 |
| 3047 #undef DECLARE_HYDROGEN_ACCESSOR | 3033 #undef DECLARE_HYDROGEN_ACCESSOR |
| 3048 #undef DECLARE_CONCRETE_INSTRUCTION | 3034 #undef DECLARE_CONCRETE_INSTRUCTION |
| 3049 | 3035 |
| 3050 } // namespace internal | 3036 } // namespace internal |
| 3051 } // namespace v8 | 3037 } // namespace v8 |
| 3052 | 3038 |
| 3053 #endif // V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ | 3039 #endif // V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ |
| OLD | NEW |