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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 V(DoubleToI) \ | 89 V(DoubleToI) \ |
90 V(DoubleToSmi) \ | 90 V(DoubleToSmi) \ |
91 V(Drop) \ | 91 V(Drop) \ |
92 V(Dummy) \ | 92 V(Dummy) \ |
93 V(DummyUse) \ | 93 V(DummyUse) \ |
94 V(ElementsKind) \ | 94 V(ElementsKind) \ |
95 V(ForInCacheArray) \ | 95 V(ForInCacheArray) \ |
96 V(ForInPrepareMap) \ | 96 V(ForInPrepareMap) \ |
97 V(FunctionLiteral) \ | 97 V(FunctionLiteral) \ |
98 V(GetCachedArrayIndex) \ | 98 V(GetCachedArrayIndex) \ |
99 V(GlobalObject) \ | |
100 V(GlobalReceiver) \ | |
101 V(Goto) \ | 99 V(Goto) \ |
102 V(HasCachedArrayIndexAndBranch) \ | 100 V(HasCachedArrayIndexAndBranch) \ |
103 V(HasInstanceTypeAndBranch) \ | 101 V(HasInstanceTypeAndBranch) \ |
104 V(InnerAllocatedObject) \ | 102 V(InnerAllocatedObject) \ |
105 V(InstanceOf) \ | 103 V(InstanceOf) \ |
106 V(InstanceOfKnownGlobal) \ | 104 V(InstanceOfKnownGlobal) \ |
107 V(InstructionGap) \ | 105 V(InstructionGap) \ |
108 V(Integer32ToDouble) \ | 106 V(Integer32ToDouble) \ |
109 V(Integer32ToSmi) \ | 107 V(Integer32ToSmi) \ |
110 V(InvokeFunction) \ | 108 V(InvokeFunction) \ |
(...skipping 1669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1780 inputs_[0] = context; | 1778 inputs_[0] = context; |
1781 } | 1779 } |
1782 | 1780 |
1783 LOperand* context() { return inputs_[0]; } | 1781 LOperand* context() { return inputs_[0]; } |
1784 | 1782 |
1785 DECLARE_CONCRETE_INSTRUCTION(DeclareGlobals, "declare-globals") | 1783 DECLARE_CONCRETE_INSTRUCTION(DeclareGlobals, "declare-globals") |
1786 DECLARE_HYDROGEN_ACCESSOR(DeclareGlobals) | 1784 DECLARE_HYDROGEN_ACCESSOR(DeclareGlobals) |
1787 }; | 1785 }; |
1788 | 1786 |
1789 | 1787 |
1790 class LGlobalObject V8_FINAL : public LTemplateInstruction<1, 1, 0> { | |
1791 public: | |
1792 explicit LGlobalObject(LOperand* context) { | |
1793 inputs_[0] = context; | |
1794 } | |
1795 | |
1796 DECLARE_CONCRETE_INSTRUCTION(GlobalObject, "global-object") | |
1797 | |
1798 LOperand* context() { return inputs_[0]; } | |
1799 }; | |
1800 | |
1801 | |
1802 class LGlobalReceiver V8_FINAL : public LTemplateInstruction<1, 1, 0> { | |
1803 public: | |
1804 explicit LGlobalReceiver(LOperand* global_object) { | |
1805 inputs_[0] = global_object; | |
1806 } | |
1807 | |
1808 LOperand* global_object() { return inputs_[0]; } | |
1809 | |
1810 DECLARE_CONCRETE_INSTRUCTION(GlobalReceiver, "global-receiver") | |
1811 }; | |
1812 | |
1813 | |
1814 class LCallJSFunction V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 1788 class LCallJSFunction V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
1815 public: | 1789 public: |
1816 explicit LCallJSFunction(LOperand* function) { | 1790 explicit LCallJSFunction(LOperand* function) { |
1817 inputs_[0] = function; | 1791 inputs_[0] = function; |
1818 } | 1792 } |
1819 | 1793 |
1820 LOperand* function() { return inputs_[0]; } | 1794 LOperand* function() { return inputs_[0]; } |
1821 | 1795 |
1822 DECLARE_CONCRETE_INSTRUCTION(CallJSFunction, "call-js-function") | 1796 DECLARE_CONCRETE_INSTRUCTION(CallJSFunction, "call-js-function") |
1823 DECLARE_HYDROGEN_ACCESSOR(CallJSFunction) | 1797 DECLARE_HYDROGEN_ACCESSOR(CallJSFunction) |
(...skipping 984 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2808 | 2782 |
2809 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2783 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2810 }; | 2784 }; |
2811 | 2785 |
2812 #undef DECLARE_HYDROGEN_ACCESSOR | 2786 #undef DECLARE_HYDROGEN_ACCESSOR |
2813 #undef DECLARE_CONCRETE_INSTRUCTION | 2787 #undef DECLARE_CONCRETE_INSTRUCTION |
2814 | 2788 |
2815 } } // namespace v8::internal | 2789 } } // namespace v8::internal |
2816 | 2790 |
2817 #endif // V8_ARM_LITHIUM_ARM_H_ | 2791 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |