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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(MultiplySubD) \ | 142 V(MultiplySubD) \ |
143 V(NumberTagD) \ | 143 V(NumberTagD) \ |
144 V(NumberTagI) \ | 144 V(NumberTagI) \ |
145 V(NumberTagU) \ | 145 V(NumberTagU) \ |
146 V(NumberUntagD) \ | 146 V(NumberUntagD) \ |
147 V(OsrEntry) \ | 147 V(OsrEntry) \ |
148 V(OuterContext) \ | |
149 V(Parameter) \ | 148 V(Parameter) \ |
150 V(Power) \ | 149 V(Power) \ |
151 V(PushArgument) \ | 150 V(PushArgument) \ |
152 V(RegExpLiteral) \ | 151 V(RegExpLiteral) \ |
153 V(Return) \ | 152 V(Return) \ |
154 V(SeqStringGetChar) \ | 153 V(SeqStringGetChar) \ |
155 V(SeqStringSetChar) \ | 154 V(SeqStringSetChar) \ |
156 V(ShiftI) \ | 155 V(ShiftI) \ |
157 V(SmiTag) \ | 156 V(SmiTag) \ |
158 V(SmiUntag) \ | 157 V(SmiUntag) \ |
(...skipping 1609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1768 }; | 1767 }; |
1769 | 1768 |
1770 | 1769 |
1771 class LContext V8_FINAL : public LTemplateInstruction<1, 0, 0> { | 1770 class LContext V8_FINAL : public LTemplateInstruction<1, 0, 0> { |
1772 public: | 1771 public: |
1773 DECLARE_CONCRETE_INSTRUCTION(Context, "context") | 1772 DECLARE_CONCRETE_INSTRUCTION(Context, "context") |
1774 DECLARE_HYDROGEN_ACCESSOR(Context) | 1773 DECLARE_HYDROGEN_ACCESSOR(Context) |
1775 }; | 1774 }; |
1776 | 1775 |
1777 | 1776 |
1778 class LOuterContext V8_FINAL : public LTemplateInstruction<1, 1, 0> { | |
1779 public: | |
1780 explicit LOuterContext(LOperand* context) { | |
1781 inputs_[0] = context; | |
1782 } | |
1783 | |
1784 LOperand* context() { return inputs_[0]; } | |
1785 | |
1786 DECLARE_CONCRETE_INSTRUCTION(OuterContext, "outer-context") | |
1787 }; | |
1788 | |
1789 | |
1790 class LDeclareGlobals V8_FINAL : public LTemplateInstruction<0, 1, 0> { | 1777 class LDeclareGlobals V8_FINAL : public LTemplateInstruction<0, 1, 0> { |
1791 public: | 1778 public: |
1792 explicit LDeclareGlobals(LOperand* context) { | 1779 explicit LDeclareGlobals(LOperand* context) { |
1793 inputs_[0] = context; | 1780 inputs_[0] = context; |
1794 } | 1781 } |
1795 | 1782 |
1796 LOperand* context() { return inputs_[0]; } | 1783 LOperand* context() { return inputs_[0]; } |
1797 | 1784 |
1798 DECLARE_CONCRETE_INSTRUCTION(DeclareGlobals, "declare-globals") | 1785 DECLARE_CONCRETE_INSTRUCTION(DeclareGlobals, "declare-globals") |
1799 DECLARE_HYDROGEN_ACCESSOR(DeclareGlobals) | 1786 DECLARE_HYDROGEN_ACCESSOR(DeclareGlobals) |
(...skipping 1021 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2821 | 2808 |
2822 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2809 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2823 }; | 2810 }; |
2824 | 2811 |
2825 #undef DECLARE_HYDROGEN_ACCESSOR | 2812 #undef DECLARE_HYDROGEN_ACCESSOR |
2826 #undef DECLARE_CONCRETE_INSTRUCTION | 2813 #undef DECLARE_CONCRETE_INSTRUCTION |
2827 | 2814 |
2828 } } // namespace v8::internal | 2815 } } // namespace v8::internal |
2829 | 2816 |
2830 #endif // V8_ARM_LITHIUM_ARM_H_ | 2817 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |