| 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_IA32_LITHIUM_IA32_H_ | 5 #ifndef V8_IA32_LITHIUM_IA32_H_ |
| 6 #define V8_IA32_LITHIUM_IA32_H_ | 6 #define V8_IA32_LITHIUM_IA32_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 1844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1855 | 1855 |
| 1856 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 1856 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
| 1857 | 1857 |
| 1858 int arity() const { return hydrogen()->argument_count() - 1; } | 1858 int arity() const { return hydrogen()->argument_count() - 1; } |
| 1859 }; | 1859 }; |
| 1860 | 1860 |
| 1861 | 1861 |
| 1862 class LCallWithDescriptor V8_FINAL : public LTemplateResultInstruction<1> { | 1862 class LCallWithDescriptor V8_FINAL : public LTemplateResultInstruction<1> { |
| 1863 public: | 1863 public: |
| 1864 LCallWithDescriptor(const CallInterfaceDescriptor* descriptor, | 1864 LCallWithDescriptor(const CallInterfaceDescriptor* descriptor, |
| 1865 ZoneList<LOperand*>& operands, | 1865 const ZoneList<LOperand*>& operands, |
| 1866 Zone* zone) | 1866 Zone* zone) |
| 1867 : inputs_(descriptor->environment_length() + 1, zone) { | 1867 : inputs_(descriptor->environment_length() + 1, zone) { |
| 1868 ASSERT(descriptor->environment_length() + 1 == operands.length()); | 1868 ASSERT(descriptor->environment_length() + 1 == operands.length()); |
| 1869 inputs_.AddAll(operands, zone); | 1869 inputs_.AddAll(operands, zone); |
| 1870 } | 1870 } |
| 1871 | 1871 |
| 1872 LOperand* target() const { return inputs_[0]; } | 1872 LOperand* target() const { return inputs_[0]; } |
| 1873 | 1873 |
| 1874 private: | 1874 private: |
| 1875 DECLARE_CONCRETE_INSTRUCTION(CallWithDescriptor, "call-with-descriptor") | 1875 DECLARE_CONCRETE_INSTRUCTION(CallWithDescriptor, "call-with-descriptor") |
| (...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2832 | 2832 |
| 2833 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2833 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2834 }; | 2834 }; |
| 2835 | 2835 |
| 2836 #undef DECLARE_HYDROGEN_ACCESSOR | 2836 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2837 #undef DECLARE_CONCRETE_INSTRUCTION | 2837 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2838 | 2838 |
| 2839 } } // namespace v8::internal | 2839 } } // namespace v8::internal |
| 2840 | 2840 |
| 2841 #endif // V8_IA32_LITHIUM_IA32_H_ | 2841 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |