| 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.h" | 9 #include "src/lithium.h" |
| 10 #include "src/lithium-allocator.h" | 10 #include "src/lithium-allocator.h" |
| (...skipping 1836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1847 int arity() const { return hydrogen()->argument_count() - 1; } | 1847 int arity() const { return hydrogen()->argument_count() - 1; } |
| 1848 }; | 1848 }; |
| 1849 | 1849 |
| 1850 | 1850 |
| 1851 class LCallWithDescriptor V8_FINAL : public LTemplateResultInstruction<1> { | 1851 class LCallWithDescriptor V8_FINAL : public LTemplateResultInstruction<1> { |
| 1852 public: | 1852 public: |
| 1853 LCallWithDescriptor(const CallInterfaceDescriptor* descriptor, | 1853 LCallWithDescriptor(const CallInterfaceDescriptor* descriptor, |
| 1854 const ZoneList<LOperand*>& operands, | 1854 const ZoneList<LOperand*>& operands, |
| 1855 Zone* zone) | 1855 Zone* zone) |
| 1856 : descriptor_(descriptor), | 1856 : descriptor_(descriptor), |
| 1857 inputs_(descriptor->environment_length() + 1, zone) { | 1857 inputs_(descriptor->GetEnvironmentLength() + 1, zone) { |
| 1858 ASSERT(descriptor->environment_length() + 1 == operands.length()); | 1858 ASSERT(descriptor->GetEnvironmentLength() + 1 == operands.length()); |
| 1859 inputs_.AddAll(operands, zone); | 1859 inputs_.AddAll(operands, zone); |
| 1860 } | 1860 } |
| 1861 | 1861 |
| 1862 LOperand* target() const { return inputs_[0]; } | 1862 LOperand* target() const { return inputs_[0]; } |
| 1863 | 1863 |
| 1864 const CallInterfaceDescriptor* descriptor() { return descriptor_; } | 1864 const CallInterfaceDescriptor* descriptor() { return descriptor_; } |
| 1865 | 1865 |
| 1866 private: | 1866 private: |
| 1867 DECLARE_CONCRETE_INSTRUCTION(CallWithDescriptor, "call-with-descriptor") | 1867 DECLARE_CONCRETE_INSTRUCTION(CallWithDescriptor, "call-with-descriptor") |
| 1868 DECLARE_HYDROGEN_ACCESSOR(CallWithDescriptor) | 1868 DECLARE_HYDROGEN_ACCESSOR(CallWithDescriptor) |
| (...skipping 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2872 | 2872 |
| 2873 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2873 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2874 }; | 2874 }; |
| 2875 | 2875 |
| 2876 #undef DECLARE_HYDROGEN_ACCESSOR | 2876 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2877 #undef DECLARE_CONCRETE_INSTRUCTION | 2877 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2878 | 2878 |
| 2879 } } // namespace v8::internal | 2879 } } // namespace v8::internal |
| 2880 | 2880 |
| 2881 #endif // V8_ARM_LITHIUM_ARM_H_ | 2881 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |