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 1647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1758 inputs_[0] = context; | 1756 inputs_[0] = context; |
1759 } | 1757 } |
1760 | 1758 |
1761 LOperand* context() { return inputs_[0]; } | 1759 LOperand* context() { return inputs_[0]; } |
1762 | 1760 |
1763 DECLARE_CONCRETE_INSTRUCTION(DeclareGlobals, "declare-globals") | 1761 DECLARE_CONCRETE_INSTRUCTION(DeclareGlobals, "declare-globals") |
1764 DECLARE_HYDROGEN_ACCESSOR(DeclareGlobals) | 1762 DECLARE_HYDROGEN_ACCESSOR(DeclareGlobals) |
1765 }; | 1763 }; |
1766 | 1764 |
1767 | 1765 |
1768 class LGlobalObject V8_FINAL : public LTemplateInstruction<1, 1, 0> { | |
1769 public: | |
1770 explicit LGlobalObject(LOperand* context) { | |
1771 inputs_[0] = context; | |
1772 } | |
1773 | |
1774 LOperand* context() { return inputs_[0]; } | |
1775 | |
1776 DECLARE_CONCRETE_INSTRUCTION(GlobalObject, "global-object") | |
1777 }; | |
1778 | |
1779 | |
1780 class LGlobalReceiver V8_FINAL : public LTemplateInstruction<1, 1, 0> { | |
1781 public: | |
1782 explicit LGlobalReceiver(LOperand* global_object) { | |
1783 inputs_[0] = global_object; | |
1784 } | |
1785 | |
1786 LOperand* global_object() { return inputs_[0]; } | |
1787 | |
1788 DECLARE_CONCRETE_INSTRUCTION(GlobalReceiver, "global-receiver") | |
1789 }; | |
1790 | |
1791 | |
1792 class LCallJSFunction V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 1766 class LCallJSFunction V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
1793 public: | 1767 public: |
1794 explicit LCallJSFunction(LOperand* function) { | 1768 explicit LCallJSFunction(LOperand* function) { |
1795 inputs_[0] = function; | 1769 inputs_[0] = function; |
1796 } | 1770 } |
1797 | 1771 |
1798 LOperand* function() { return inputs_[0]; } | 1772 LOperand* function() { return inputs_[0]; } |
1799 | 1773 |
1800 DECLARE_CONCRETE_INSTRUCTION(CallJSFunction, "call-js-function") | 1774 DECLARE_CONCRETE_INSTRUCTION(CallJSFunction, "call-js-function") |
1801 DECLARE_HYDROGEN_ACCESSOR(CallJSFunction) | 1775 DECLARE_HYDROGEN_ACCESSOR(CallJSFunction) |
(...skipping 979 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2781 | 2755 |
2782 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2756 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2783 }; | 2757 }; |
2784 | 2758 |
2785 #undef DECLARE_HYDROGEN_ACCESSOR | 2759 #undef DECLARE_HYDROGEN_ACCESSOR |
2786 #undef DECLARE_CONCRETE_INSTRUCTION | 2760 #undef DECLARE_CONCRETE_INSTRUCTION |
2787 | 2761 |
2788 } } // namespace v8::internal | 2762 } } // namespace v8::internal |
2789 | 2763 |
2790 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2764 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |