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 1864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1875 DECLARE_CONCRETE_INSTRUCTION(CallWithDescriptor, "call-with-descriptor") | 1875 DECLARE_CONCRETE_INSTRUCTION(CallWithDescriptor, "call-with-descriptor") |
1876 DECLARE_HYDROGEN_ACCESSOR(CallWithDescriptor) | 1876 DECLARE_HYDROGEN_ACCESSOR(CallWithDescriptor) |
1877 | 1877 |
1878 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 1878 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
1879 | 1879 |
1880 int arity() const { return hydrogen()->argument_count() - 1; } | 1880 int arity() const { return hydrogen()->argument_count() - 1; } |
1881 | 1881 |
1882 const CallInterfaceDescriptor* descriptor_; | 1882 const CallInterfaceDescriptor* descriptor_; |
1883 ZoneList<LOperand*> inputs_; | 1883 ZoneList<LOperand*> inputs_; |
1884 | 1884 |
1885 virtual void InternalSetOperandAt(int index, | |
1886 LOperand* value) V8_FINAL V8_OVERRIDE { | |
1887 inputs_[index] = value; | |
1888 } | |
1889 | |
1890 // Iterator support. | 1885 // Iterator support. |
1891 virtual int InputCount() V8_FINAL V8_OVERRIDE { return inputs_.length(); } | 1886 virtual int InputCount() V8_FINAL V8_OVERRIDE { return inputs_.length(); } |
1892 virtual LOperand* InputAt(int i) V8_FINAL V8_OVERRIDE { return inputs_[i]; } | 1887 virtual LOperand* InputAt(int i) V8_FINAL V8_OVERRIDE { return inputs_[i]; } |
1893 | 1888 |
1894 virtual int TempCount() V8_FINAL V8_OVERRIDE { return 0; } | 1889 virtual int TempCount() V8_FINAL V8_OVERRIDE { return 0; } |
1895 virtual LOperand* TempAt(int i) V8_FINAL V8_OVERRIDE { return NULL; } | 1890 virtual LOperand* TempAt(int i) V8_FINAL V8_OVERRIDE { return NULL; } |
1896 }; | 1891 }; |
1897 | 1892 |
1898 | 1893 |
1899 class LInvokeFunction V8_FINAL : public LTemplateInstruction<1, 2, 0> { | 1894 class LInvokeFunction V8_FINAL : public LTemplateInstruction<1, 2, 0> { |
(...skipping 936 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2836 | 2831 |
2837 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2832 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2838 }; | 2833 }; |
2839 | 2834 |
2840 #undef DECLARE_HYDROGEN_ACCESSOR | 2835 #undef DECLARE_HYDROGEN_ACCESSOR |
2841 #undef DECLARE_CONCRETE_INSTRUCTION | 2836 #undef DECLARE_CONCRETE_INSTRUCTION |
2842 | 2837 |
2843 } } // namespace v8::internal | 2838 } } // namespace v8::internal |
2844 | 2839 |
2845 #endif // V8_ARM_LITHIUM_ARM_H_ | 2840 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |