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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 V(MathPowHalf) \ | 136 V(MathPowHalf) \ |
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(NumberTagD) \ | 141 V(NumberTagD) \ |
142 V(NumberTagI) \ | 142 V(NumberTagI) \ |
143 V(NumberTagU) \ | 143 V(NumberTagU) \ |
144 V(NumberUntagD) \ | 144 V(NumberUntagD) \ |
145 V(OsrEntry) \ | 145 V(OsrEntry) \ |
146 V(OuterContext) \ | |
147 V(Parameter) \ | 146 V(Parameter) \ |
148 V(Power) \ | 147 V(Power) \ |
149 V(PushArgument) \ | 148 V(PushArgument) \ |
150 V(RegExpLiteral) \ | 149 V(RegExpLiteral) \ |
151 V(Return) \ | 150 V(Return) \ |
152 V(SeqStringGetChar) \ | 151 V(SeqStringGetChar) \ |
153 V(SeqStringSetChar) \ | 152 V(SeqStringSetChar) \ |
154 V(ShiftI) \ | 153 V(ShiftI) \ |
155 V(SmiTag) \ | 154 V(SmiTag) \ |
156 V(SmiUntag) \ | 155 V(SmiUntag) \ |
(...skipping 1556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1713 }; | 1712 }; |
1714 | 1713 |
1715 | 1714 |
1716 class LContext V8_FINAL : public LTemplateInstruction<1, 0, 0> { | 1715 class LContext V8_FINAL : public LTemplateInstruction<1, 0, 0> { |
1717 public: | 1716 public: |
1718 DECLARE_CONCRETE_INSTRUCTION(Context, "context") | 1717 DECLARE_CONCRETE_INSTRUCTION(Context, "context") |
1719 DECLARE_HYDROGEN_ACCESSOR(Context) | 1718 DECLARE_HYDROGEN_ACCESSOR(Context) |
1720 }; | 1719 }; |
1721 | 1720 |
1722 | 1721 |
1723 class LOuterContext V8_FINAL : public LTemplateInstruction<1, 1, 0> { | |
1724 public: | |
1725 explicit LOuterContext(LOperand* context) { | |
1726 inputs_[0] = context; | |
1727 } | |
1728 | |
1729 LOperand* context() { return inputs_[0]; } | |
1730 | |
1731 DECLARE_CONCRETE_INSTRUCTION(OuterContext, "outer-context") | |
1732 }; | |
1733 | |
1734 | |
1735 class LDeclareGlobals V8_FINAL : public LTemplateInstruction<0, 1, 0> { | 1722 class LDeclareGlobals V8_FINAL : public LTemplateInstruction<0, 1, 0> { |
1736 public: | 1723 public: |
1737 explicit LDeclareGlobals(LOperand* context) { | 1724 explicit LDeclareGlobals(LOperand* context) { |
1738 inputs_[0] = context; | 1725 inputs_[0] = context; |
1739 } | 1726 } |
1740 | 1727 |
1741 LOperand* context() { return inputs_[0]; } | 1728 LOperand* context() { return inputs_[0]; } |
1742 | 1729 |
1743 DECLARE_CONCRETE_INSTRUCTION(DeclareGlobals, "declare-globals") | 1730 DECLARE_CONCRETE_INSTRUCTION(DeclareGlobals, "declare-globals") |
1744 DECLARE_HYDROGEN_ACCESSOR(DeclareGlobals) | 1731 DECLARE_HYDROGEN_ACCESSOR(DeclareGlobals) |
(...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2747 | 2734 |
2748 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2735 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2749 }; | 2736 }; |
2750 | 2737 |
2751 #undef DECLARE_HYDROGEN_ACCESSOR | 2738 #undef DECLARE_HYDROGEN_ACCESSOR |
2752 #undef DECLARE_CONCRETE_INSTRUCTION | 2739 #undef DECLARE_CONCRETE_INSTRUCTION |
2753 | 2740 |
2754 } } // namespace v8::int | 2741 } } // namespace v8::int |
2755 | 2742 |
2756 #endif // V8_X64_LITHIUM_X64_H_ | 2743 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |