| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 V(BitNotI) \ | 55 V(BitNotI) \ |
| 56 V(BoundsCheck) \ | 56 V(BoundsCheck) \ |
| 57 V(Branch) \ | 57 V(Branch) \ |
| 58 V(CallConstantFunction) \ | 58 V(CallConstantFunction) \ |
| 59 V(CallFunction) \ | 59 V(CallFunction) \ |
| 60 V(CallGlobal) \ | 60 V(CallGlobal) \ |
| 61 V(CallKeyed) \ | 61 V(CallKeyed) \ |
| 62 V(CallKnownGlobal) \ | 62 V(CallKnownGlobal) \ |
| 63 V(CallNamed) \ | 63 V(CallNamed) \ |
| 64 V(CallNew) \ | 64 V(CallNew) \ |
| 65 V(CallNewArray) \ |
| 65 V(CallRuntime) \ | 66 V(CallRuntime) \ |
| 66 V(CallStub) \ | 67 V(CallStub) \ |
| 67 V(CheckFunction) \ | 68 V(CheckFunction) \ |
| 68 V(CheckInstanceType) \ | 69 V(CheckInstanceType) \ |
| 69 V(CheckMaps) \ | 70 V(CheckMaps) \ |
| 70 V(CheckNonSmi) \ | 71 V(CheckNonSmi) \ |
| 71 V(CheckPrototypeMaps) \ | 72 V(CheckPrototypeMaps) \ |
| 72 V(CheckSmi) \ | 73 V(CheckSmi) \ |
| 73 V(ClampDToUint8) \ | 74 V(ClampDToUint8) \ |
| 74 V(ClampIToUint8) \ | 75 V(ClampIToUint8) \ |
| (...skipping 1751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1826 | 1827 |
| 1827 DECLARE_CONCRETE_INSTRUCTION(CallNew, "call-new") | 1828 DECLARE_CONCRETE_INSTRUCTION(CallNew, "call-new") |
| 1828 DECLARE_HYDROGEN_ACCESSOR(CallNew) | 1829 DECLARE_HYDROGEN_ACCESSOR(CallNew) |
| 1829 | 1830 |
| 1830 virtual void PrintDataTo(StringStream* stream); | 1831 virtual void PrintDataTo(StringStream* stream); |
| 1831 | 1832 |
| 1832 int arity() const { return hydrogen()->argument_count() - 1; } | 1833 int arity() const { return hydrogen()->argument_count() - 1; } |
| 1833 }; | 1834 }; |
| 1834 | 1835 |
| 1835 | 1836 |
| 1837 class LCallNewArray: public LTemplateInstruction<1, 2, 0> { |
| 1838 public: |
| 1839 LCallNewArray(LOperand* context, LOperand* constructor) { |
| 1840 inputs_[0] = context; |
| 1841 inputs_[1] = constructor; |
| 1842 } |
| 1843 |
| 1844 LOperand* context() { return inputs_[0]; } |
| 1845 LOperand* constructor() { return inputs_[1]; } |
| 1846 |
| 1847 DECLARE_CONCRETE_INSTRUCTION(CallNewArray, "call-new-array") |
| 1848 DECLARE_HYDROGEN_ACCESSOR(CallNewArray) |
| 1849 |
| 1850 virtual void PrintDataTo(StringStream* stream); |
| 1851 |
| 1852 int arity() const { return hydrogen()->argument_count() - 1; } |
| 1853 }; |
| 1854 |
| 1855 |
| 1836 class LCallRuntime: public LTemplateInstruction<1, 1, 0> { | 1856 class LCallRuntime: public LTemplateInstruction<1, 1, 0> { |
| 1837 public: | 1857 public: |
| 1838 explicit LCallRuntime(LOperand* context) { | 1858 explicit LCallRuntime(LOperand* context) { |
| 1839 inputs_[0] = context; | 1859 inputs_[0] = context; |
| 1840 } | 1860 } |
| 1841 | 1861 |
| 1842 LOperand* context() { return inputs_[0]; } | 1862 LOperand* context() { return inputs_[0]; } |
| 1843 | 1863 |
| 1844 DECLARE_CONCRETE_INSTRUCTION(CallRuntime, "call-runtime") | 1864 DECLARE_CONCRETE_INSTRUCTION(CallRuntime, "call-runtime") |
| 1845 DECLARE_HYDROGEN_ACCESSOR(CallRuntime) | 1865 DECLARE_HYDROGEN_ACCESSOR(CallRuntime) |
| (...skipping 929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2775 | 2795 |
| 2776 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2796 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2777 }; | 2797 }; |
| 2778 | 2798 |
| 2779 #undef DECLARE_HYDROGEN_ACCESSOR | 2799 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2780 #undef DECLARE_CONCRETE_INSTRUCTION | 2800 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2781 | 2801 |
| 2782 } } // namespace v8::internal | 2802 } } // namespace v8::internal |
| 2783 | 2803 |
| 2784 #endif // V8_IA32_LITHIUM_IA32_H_ | 2804 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |