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 1865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1876 DECLARE_CONCRETE_INSTRUCTION(CallWithDescriptor, "call-with-descriptor") | 1876 DECLARE_CONCRETE_INSTRUCTION(CallWithDescriptor, "call-with-descriptor") |
1877 DECLARE_HYDROGEN_ACCESSOR(CallWithDescriptor) | 1877 DECLARE_HYDROGEN_ACCESSOR(CallWithDescriptor) |
1878 | 1878 |
1879 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 1879 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
1880 | 1880 |
1881 int arity() const { return hydrogen()->argument_count() - 1; } | 1881 int arity() const { return hydrogen()->argument_count() - 1; } |
1882 | 1882 |
1883 const CallInterfaceDescriptor* descriptor_; | 1883 const CallInterfaceDescriptor* descriptor_; |
1884 ZoneList<LOperand*> inputs_; | 1884 ZoneList<LOperand*> inputs_; |
1885 | 1885 |
1886 virtual void InternalSetOperandAt(int index, | |
1887 LOperand* value) V8_FINAL V8_OVERRIDE { | |
1888 inputs_[index] = value; | |
1889 } | |
1890 | |
1891 // Iterator support. | 1886 // Iterator support. |
1892 virtual int InputCount() V8_FINAL V8_OVERRIDE { return inputs_.length(); } | 1887 virtual int InputCount() V8_FINAL V8_OVERRIDE { return inputs_.length(); } |
1893 virtual LOperand* InputAt(int i) V8_FINAL V8_OVERRIDE { return inputs_[i]; } | 1888 virtual LOperand* InputAt(int i) V8_FINAL V8_OVERRIDE { return inputs_[i]; } |
1894 | 1889 |
1895 virtual int TempCount() V8_FINAL V8_OVERRIDE { return 0; } | 1890 virtual int TempCount() V8_FINAL V8_OVERRIDE { return 0; } |
1896 virtual LOperand* TempAt(int i) V8_FINAL V8_OVERRIDE { return NULL; } | 1891 virtual LOperand* TempAt(int i) V8_FINAL V8_OVERRIDE { return NULL; } |
1897 }; | 1892 }; |
1898 | 1893 |
1899 | 1894 |
1900 class LInvokeFunction V8_FINAL : public LTemplateInstruction<1, 2, 0> { | 1895 class LInvokeFunction V8_FINAL : public LTemplateInstruction<1, 2, 0> { |
(...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2857 | 2852 |
2858 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2853 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2859 }; | 2854 }; |
2860 | 2855 |
2861 #undef DECLARE_HYDROGEN_ACCESSOR | 2856 #undef DECLARE_HYDROGEN_ACCESSOR |
2862 #undef DECLARE_CONCRETE_INSTRUCTION | 2857 #undef DECLARE_CONCRETE_INSTRUCTION |
2863 | 2858 |
2864 } } // namespace v8::internal | 2859 } } // namespace v8::internal |
2865 | 2860 |
2866 #endif // V8_IA32_LITHIUM_IA32_H_ | 2861 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |