OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 1844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1855 DECLARE_CONCRETE_INSTRUCTION(CallWithDescriptor, "call-with-descriptor") | 1855 DECLARE_CONCRETE_INSTRUCTION(CallWithDescriptor, "call-with-descriptor") |
1856 DECLARE_HYDROGEN_ACCESSOR(CallWithDescriptor) | 1856 DECLARE_HYDROGEN_ACCESSOR(CallWithDescriptor) |
1857 | 1857 |
1858 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 1858 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
1859 | 1859 |
1860 int arity() const { return hydrogen()->argument_count() - 1; } | 1860 int arity() const { return hydrogen()->argument_count() - 1; } |
1861 | 1861 |
1862 const CallInterfaceDescriptor* descriptor_; | 1862 const CallInterfaceDescriptor* descriptor_; |
1863 ZoneList<LOperand*> inputs_; | 1863 ZoneList<LOperand*> inputs_; |
1864 | 1864 |
1865 virtual void InternalSetOperandAt(int index, | |
1866 LOperand* value) V8_FINAL V8_OVERRIDE { | |
1867 inputs_[index] = value; | |
1868 } | |
1869 | |
1870 // Iterator support. | 1865 // Iterator support. |
1871 virtual int InputCount() V8_FINAL V8_OVERRIDE { return inputs_.length(); } | 1866 virtual int InputCount() V8_FINAL V8_OVERRIDE { return inputs_.length(); } |
1872 virtual LOperand* InputAt(int i) V8_FINAL V8_OVERRIDE { return inputs_[i]; } | 1867 virtual LOperand* InputAt(int i) V8_FINAL V8_OVERRIDE { return inputs_[i]; } |
1873 | 1868 |
1874 virtual int TempCount() V8_FINAL V8_OVERRIDE { return 0; } | 1869 virtual int TempCount() V8_FINAL V8_OVERRIDE { return 0; } |
1875 virtual LOperand* TempAt(int i) V8_FINAL V8_OVERRIDE { return NULL; } | 1870 virtual LOperand* TempAt(int i) V8_FINAL V8_OVERRIDE { return NULL; } |
1876 }; | 1871 }; |
1877 | 1872 |
1878 | 1873 |
1879 class LInvokeFunction V8_FINAL : public LTemplateInstruction<1, 2, 0> { | 1874 class LInvokeFunction V8_FINAL : public LTemplateInstruction<1, 2, 0> { |
(...skipping 931 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2811 | 2806 |
2812 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2807 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2813 }; | 2808 }; |
2814 | 2809 |
2815 #undef DECLARE_HYDROGEN_ACCESSOR | 2810 #undef DECLARE_HYDROGEN_ACCESSOR |
2816 #undef DECLARE_CONCRETE_INSTRUCTION | 2811 #undef DECLARE_CONCRETE_INSTRUCTION |
2817 | 2812 |
2818 } } // namespace v8::internal | 2813 } } // namespace v8::internal |
2819 | 2814 |
2820 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2815 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |