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_ARM64_LITHIUM_ARM64_H_ | 5 #ifndef V8_ARM64_LITHIUM_ARM64_H_ |
6 #define V8_ARM64_LITHIUM_ARM64_H_ | 6 #define V8_ARM64_LITHIUM_ARM64_H_ |
7 | 7 |
8 #include "src/hydrogen.h" | 8 #include "src/hydrogen.h" |
9 #include "src/lithium.h" | 9 #include "src/lithium.h" |
10 #include "src/lithium-allocator.h" | 10 #include "src/lithium-allocator.h" |
(...skipping 1730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1741 } | 1741 } |
1742 | 1742 |
1743 LOperand* context() { return inputs_[0]; } | 1743 LOperand* context() { return inputs_[0]; } |
1744 LOperand* global_object() { return inputs_[1]; } | 1744 LOperand* global_object() { return inputs_[1]; } |
1745 LOperand* temp_vector() { return temps_[0]; } | 1745 LOperand* temp_vector() { return temps_[0]; } |
1746 | 1746 |
1747 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalGeneric, "load-global-generic") | 1747 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalGeneric, "load-global-generic") |
1748 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalGeneric) | 1748 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalGeneric) |
1749 | 1749 |
1750 Handle<Object> name() const { return hydrogen()->name(); } | 1750 Handle<Object> name() const { return hydrogen()->name(); } |
1751 bool for_typeof() const { return hydrogen()->for_typeof(); } | 1751 TypeofMode typeof_mode() const { return hydrogen()->typeof_mode(); } |
1752 }; | 1752 }; |
1753 | 1753 |
1754 | 1754 |
1755 template<int T> | 1755 template<int T> |
1756 class LLoadKeyed : public LTemplateInstruction<1, 2, T> { | 1756 class LLoadKeyed : public LTemplateInstruction<1, 2, T> { |
1757 public: | 1757 public: |
1758 LLoadKeyed(LOperand* elements, LOperand* key) { | 1758 LLoadKeyed(LOperand* elements, LOperand* key) { |
1759 this->inputs_[0] = elements; | 1759 this->inputs_[0] = elements; |
1760 this->inputs_[1] = key; | 1760 this->inputs_[1] = key; |
1761 } | 1761 } |
(...skipping 1486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3248 | 3248 |
3249 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 3249 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
3250 }; | 3250 }; |
3251 | 3251 |
3252 #undef DECLARE_HYDROGEN_ACCESSOR | 3252 #undef DECLARE_HYDROGEN_ACCESSOR |
3253 #undef DECLARE_CONCRETE_INSTRUCTION | 3253 #undef DECLARE_CONCRETE_INSTRUCTION |
3254 | 3254 |
3255 } } // namespace v8::internal | 3255 } } // namespace v8::internal |
3256 | 3256 |
3257 #endif // V8_ARM64_LITHIUM_ARM64_H_ | 3257 #endif // V8_ARM64_LITHIUM_ARM64_H_ |
OLD | NEW |