OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_ARM_LITHIUM_ARM_H_ | 5 #ifndef V8_ARM_LITHIUM_ARM_H_ |
6 #define V8_ARM_LITHIUM_ARM_H_ | 6 #define V8_ARM_LITHIUM_ARM_H_ |
7 | 7 |
8 #include "src/hydrogen.h" | 8 #include "src/hydrogen.h" |
9 #include "src/lithium-allocator.h" | 9 #include "src/lithium-allocator.h" |
10 #include "src/lithium.h" | 10 #include "src/lithium.h" |
(...skipping 1831 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1842 | 1842 |
1843 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 1843 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
1844 | 1844 |
1845 int arity() const { return hydrogen()->argument_count() - 1; } | 1845 int arity() const { return hydrogen()->argument_count() - 1; } |
1846 }; | 1846 }; |
1847 | 1847 |
1848 | 1848 |
1849 class LCallWithDescriptor V8_FINAL : public LTemplateResultInstruction<1> { | 1849 class LCallWithDescriptor V8_FINAL : public LTemplateResultInstruction<1> { |
1850 public: | 1850 public: |
1851 LCallWithDescriptor(const CallInterfaceDescriptor* descriptor, | 1851 LCallWithDescriptor(const CallInterfaceDescriptor* descriptor, |
1852 ZoneList<LOperand*>& operands, | 1852 const ZoneList<LOperand*>& operands, |
1853 Zone* zone) | 1853 Zone* zone) |
1854 : descriptor_(descriptor), | 1854 : descriptor_(descriptor), |
1855 inputs_(descriptor->environment_length() + 1, zone) { | 1855 inputs_(descriptor->environment_length() + 1, zone) { |
1856 ASSERT(descriptor->environment_length() + 1 == operands.length()); | 1856 ASSERT(descriptor->environment_length() + 1 == operands.length()); |
1857 inputs_.AddAll(operands, zone); | 1857 inputs_.AddAll(operands, zone); |
1858 } | 1858 } |
1859 | 1859 |
1860 LOperand* target() const { return inputs_[0]; } | 1860 LOperand* target() const { return inputs_[0]; } |
1861 | 1861 |
1862 const CallInterfaceDescriptor* descriptor() { return descriptor_; } | 1862 const CallInterfaceDescriptor* descriptor() { return descriptor_; } |
(...skipping 978 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2841 | 2841 |
2842 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2842 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2843 }; | 2843 }; |
2844 | 2844 |
2845 #undef DECLARE_HYDROGEN_ACCESSOR | 2845 #undef DECLARE_HYDROGEN_ACCESSOR |
2846 #undef DECLARE_CONCRETE_INSTRUCTION | 2846 #undef DECLARE_CONCRETE_INSTRUCTION |
2847 | 2847 |
2848 } } // namespace v8::internal | 2848 } } // namespace v8::internal |
2849 | 2849 |
2850 #endif // V8_ARM_LITHIUM_ARM_H_ | 2850 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |