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 1810 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1821 DECLARE_CONCRETE_INSTRUCTION(CallWithDescriptor, "call-with-descriptor") | 1821 DECLARE_CONCRETE_INSTRUCTION(CallWithDescriptor, "call-with-descriptor") |
1822 DECLARE_HYDROGEN_ACCESSOR(CallWithDescriptor) | 1822 DECLARE_HYDROGEN_ACCESSOR(CallWithDescriptor) |
1823 | 1823 |
1824 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 1824 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
1825 | 1825 |
1826 int arity() const { return hydrogen()->argument_count() - 1; } | 1826 int arity() const { return hydrogen()->argument_count() - 1; } |
1827 | 1827 |
1828 const CallInterfaceDescriptor* descriptor_; | 1828 const CallInterfaceDescriptor* descriptor_; |
1829 ZoneList<LOperand*> inputs_; | 1829 ZoneList<LOperand*> inputs_; |
1830 | 1830 |
1831 virtual void InternalSetOperandAt(int index, | |
1832 LOperand* value) V8_FINAL V8_OVERRIDE { | |
1833 inputs_[index] = value; | |
1834 } | |
1835 | |
1836 // Iterator support. | 1831 // Iterator support. |
1837 virtual int InputCount() V8_FINAL V8_OVERRIDE { return inputs_.length(); } | 1832 virtual int InputCount() V8_FINAL V8_OVERRIDE { return inputs_.length(); } |
1838 virtual LOperand* InputAt(int i) V8_FINAL V8_OVERRIDE { return inputs_[i]; } | 1833 virtual LOperand* InputAt(int i) V8_FINAL V8_OVERRIDE { return inputs_[i]; } |
1839 | 1834 |
1840 virtual int TempCount() V8_FINAL V8_OVERRIDE { return 0; } | 1835 virtual int TempCount() V8_FINAL V8_OVERRIDE { return 0; } |
1841 virtual LOperand* TempAt(int i) V8_FINAL V8_OVERRIDE { return NULL; } | 1836 virtual LOperand* TempAt(int i) V8_FINAL V8_OVERRIDE { return NULL; } |
1842 }; | 1837 }; |
1843 | 1838 |
1844 | 1839 |
1845 class LInvokeFunction V8_FINAL : public LTemplateInstruction<1, 2, 0> { | 1840 class LInvokeFunction V8_FINAL : public LTemplateInstruction<1, 2, 0> { |
(...skipping 922 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2768 | 2763 |
2769 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2764 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2770 }; | 2765 }; |
2771 | 2766 |
2772 #undef DECLARE_HYDROGEN_ACCESSOR | 2767 #undef DECLARE_HYDROGEN_ACCESSOR |
2773 #undef DECLARE_CONCRETE_INSTRUCTION | 2768 #undef DECLARE_CONCRETE_INSTRUCTION |
2774 | 2769 |
2775 } } // namespace v8::int | 2770 } } // namespace v8::int |
2776 | 2771 |
2777 #endif // V8_X64_LITHIUM_X64_H_ | 2772 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |