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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 V(MathRound) \ | 137 V(MathRound) \ |
138 V(MathSqrt) \ | 138 V(MathSqrt) \ |
139 V(ModI) \ | 139 V(ModI) \ |
140 V(MulI) \ | 140 V(MulI) \ |
141 V(MultiplyAddD) \ | 141 V(MultiplyAddD) \ |
142 V(NumberTagD) \ | 142 V(NumberTagD) \ |
143 V(NumberTagI) \ | 143 V(NumberTagI) \ |
144 V(NumberTagU) \ | 144 V(NumberTagU) \ |
145 V(NumberUntagD) \ | 145 V(NumberUntagD) \ |
146 V(OsrEntry) \ | 146 V(OsrEntry) \ |
147 V(OuterContext) \ | |
148 V(Parameter) \ | 147 V(Parameter) \ |
149 V(Power) \ | 148 V(Power) \ |
150 V(PushArgument) \ | 149 V(PushArgument) \ |
151 V(RegExpLiteral) \ | 150 V(RegExpLiteral) \ |
152 V(Return) \ | 151 V(Return) \ |
153 V(SeqStringGetChar) \ | 152 V(SeqStringGetChar) \ |
154 V(SeqStringSetChar) \ | 153 V(SeqStringSetChar) \ |
155 V(ShiftI) \ | 154 V(ShiftI) \ |
156 V(SmiTag) \ | 155 V(SmiTag) \ |
157 V(SmiUntag) \ | 156 V(SmiUntag) \ |
(...skipping 1588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1746 }; | 1745 }; |
1747 | 1746 |
1748 | 1747 |
1749 class LContext V8_FINAL : public LTemplateInstruction<1, 0, 0> { | 1748 class LContext V8_FINAL : public LTemplateInstruction<1, 0, 0> { |
1750 public: | 1749 public: |
1751 DECLARE_CONCRETE_INSTRUCTION(Context, "context") | 1750 DECLARE_CONCRETE_INSTRUCTION(Context, "context") |
1752 DECLARE_HYDROGEN_ACCESSOR(Context) | 1751 DECLARE_HYDROGEN_ACCESSOR(Context) |
1753 }; | 1752 }; |
1754 | 1753 |
1755 | 1754 |
1756 class LOuterContext V8_FINAL : public LTemplateInstruction<1, 1, 0> { | |
1757 public: | |
1758 explicit LOuterContext(LOperand* context) { | |
1759 inputs_[0] = context; | |
1760 } | |
1761 | |
1762 LOperand* context() { return inputs_[0]; } | |
1763 | |
1764 DECLARE_CONCRETE_INSTRUCTION(OuterContext, "outer-context") | |
1765 }; | |
1766 | |
1767 | |
1768 class LDeclareGlobals V8_FINAL : public LTemplateInstruction<0, 1, 0> { | 1755 class LDeclareGlobals V8_FINAL : public LTemplateInstruction<0, 1, 0> { |
1769 public: | 1756 public: |
1770 explicit LDeclareGlobals(LOperand* context) { | 1757 explicit LDeclareGlobals(LOperand* context) { |
1771 inputs_[0] = context; | 1758 inputs_[0] = context; |
1772 } | 1759 } |
1773 | 1760 |
1774 LOperand* context() { return inputs_[0]; } | 1761 LOperand* context() { return inputs_[0]; } |
1775 | 1762 |
1776 DECLARE_CONCRETE_INSTRUCTION(DeclareGlobals, "declare-globals") | 1763 DECLARE_CONCRETE_INSTRUCTION(DeclareGlobals, "declare-globals") |
1777 DECLARE_HYDROGEN_ACCESSOR(DeclareGlobals) | 1764 DECLARE_HYDROGEN_ACCESSOR(DeclareGlobals) |
(...skipping 1016 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2794 | 2781 |
2795 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2782 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2796 }; | 2783 }; |
2797 | 2784 |
2798 #undef DECLARE_HYDROGEN_ACCESSOR | 2785 #undef DECLARE_HYDROGEN_ACCESSOR |
2799 #undef DECLARE_CONCRETE_INSTRUCTION | 2786 #undef DECLARE_CONCRETE_INSTRUCTION |
2800 | 2787 |
2801 } } // namespace v8::internal | 2788 } } // namespace v8::internal |
2802 | 2789 |
2803 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2790 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |