| 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 V(Return) \ | 133 V(Return) \ |
| 134 V(SeqStringGetChar) \ | 134 V(SeqStringGetChar) \ |
| 135 V(SeqStringSetChar) \ | 135 V(SeqStringSetChar) \ |
| 136 V(ShiftI) \ | 136 V(ShiftI) \ |
| 137 V(ShiftS) \ | 137 V(ShiftS) \ |
| 138 V(SmiTag) \ | 138 V(SmiTag) \ |
| 139 V(SmiUntag) \ | 139 V(SmiUntag) \ |
| 140 V(StackCheck) \ | 140 V(StackCheck) \ |
| 141 V(StoreCodeEntry) \ | 141 V(StoreCodeEntry) \ |
| 142 V(StoreContextSlot) \ | 142 V(StoreContextSlot) \ |
| 143 V(StoreFrameContext) \ | |
| 144 V(StoreKeyedExternal) \ | 143 V(StoreKeyedExternal) \ |
| 145 V(StoreKeyedFixed) \ | 144 V(StoreKeyedFixed) \ |
| 146 V(StoreKeyedFixedDouble) \ | 145 V(StoreKeyedFixedDouble) \ |
| 147 V(StoreKeyedGeneric) \ | 146 V(StoreKeyedGeneric) \ |
| 148 V(StoreNamedField) \ | 147 V(StoreNamedField) \ |
| 149 V(StoreNamedGeneric) \ | 148 V(StoreNamedGeneric) \ |
| 150 V(StringAdd) \ | 149 V(StringAdd) \ |
| 151 V(StringCharCodeAt) \ | 150 V(StringCharCodeAt) \ |
| 152 V(StringCharFromCode) \ | 151 V(StringCharFromCode) \ |
| 153 V(StringCompareAndBranch) \ | 152 V(StringCompareAndBranch) \ |
| (...skipping 2681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2835 inputs_[1] = index; | 2834 inputs_[1] = index; |
| 2836 } | 2835 } |
| 2837 | 2836 |
| 2838 LOperand* object() { return inputs_[0]; } | 2837 LOperand* object() { return inputs_[0]; } |
| 2839 LOperand* index() { return inputs_[1]; } | 2838 LOperand* index() { return inputs_[1]; } |
| 2840 | 2839 |
| 2841 DECLARE_CONCRETE_INSTRUCTION(LoadFieldByIndex, "load-field-by-index") | 2840 DECLARE_CONCRETE_INSTRUCTION(LoadFieldByIndex, "load-field-by-index") |
| 2842 }; | 2841 }; |
| 2843 | 2842 |
| 2844 | 2843 |
| 2845 class LStoreFrameContext: public LTemplateInstruction<0, 1, 0> { | |
| 2846 public: | |
| 2847 explicit LStoreFrameContext(LOperand* context) { | |
| 2848 inputs_[0] = context; | |
| 2849 } | |
| 2850 | |
| 2851 LOperand* context() { return inputs_[0]; } | |
| 2852 | |
| 2853 DECLARE_CONCRETE_INSTRUCTION(StoreFrameContext, "store-frame-context") | |
| 2854 }; | |
| 2855 | |
| 2856 | |
| 2857 class LWrapReceiver final : public LTemplateInstruction<1, 2, 0> { | 2844 class LWrapReceiver final : public LTemplateInstruction<1, 2, 0> { |
| 2858 public: | 2845 public: |
| 2859 LWrapReceiver(LOperand* receiver, LOperand* function) { | 2846 LWrapReceiver(LOperand* receiver, LOperand* function) { |
| 2860 inputs_[0] = receiver; | 2847 inputs_[0] = receiver; |
| 2861 inputs_[1] = function; | 2848 inputs_[1] = function; |
| 2862 } | 2849 } |
| 2863 | 2850 |
| 2864 DECLARE_CONCRETE_INSTRUCTION(WrapReceiver, "wrap-receiver") | 2851 DECLARE_CONCRETE_INSTRUCTION(WrapReceiver, "wrap-receiver") |
| 2865 DECLARE_HYDROGEN_ACCESSOR(WrapReceiver) | 2852 DECLARE_HYDROGEN_ACCESSOR(WrapReceiver) |
| 2866 | 2853 |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3039 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 3026 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 3040 }; | 3027 }; |
| 3041 | 3028 |
| 3042 #undef DECLARE_HYDROGEN_ACCESSOR | 3029 #undef DECLARE_HYDROGEN_ACCESSOR |
| 3043 #undef DECLARE_CONCRETE_INSTRUCTION | 3030 #undef DECLARE_CONCRETE_INSTRUCTION |
| 3044 | 3031 |
| 3045 } // namespace internal | 3032 } // namespace internal |
| 3046 } // namespace v8 | 3033 } // namespace v8 |
| 3047 | 3034 |
| 3048 #endif // V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ | 3035 #endif // V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ |
| OLD | NEW |