OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 V(StoreKeyedFastElement) \ | 147 V(StoreKeyedFastElement) \ |
148 V(StoreKeyedGeneric) \ | 148 V(StoreKeyedGeneric) \ |
149 V(StoreNamedField) \ | 149 V(StoreNamedField) \ |
150 V(StoreNamedGeneric) \ | 150 V(StoreNamedGeneric) \ |
151 V(StorePixelArrayElement) \ | 151 V(StorePixelArrayElement) \ |
152 V(StringCharCodeAt) \ | 152 V(StringCharCodeAt) \ |
153 V(StringCharFromCode) \ | 153 V(StringCharFromCode) \ |
154 V(StringLength) \ | 154 V(StringLength) \ |
155 V(SubI) \ | 155 V(SubI) \ |
156 V(TaggedToI) \ | 156 V(TaggedToI) \ |
| 157 V(ToFastProperties) \ |
157 V(Throw) \ | 158 V(Throw) \ |
158 V(Typeof) \ | 159 V(Typeof) \ |
159 V(TypeofIs) \ | 160 V(TypeofIs) \ |
160 V(TypeofIsAndBranch) \ | 161 V(TypeofIsAndBranch) \ |
161 V(IsConstructCall) \ | 162 V(IsConstructCall) \ |
162 V(IsConstructCallAndBranch) \ | 163 V(IsConstructCallAndBranch) \ |
163 V(UnaryMathOperation) \ | 164 V(UnaryMathOperation) \ |
164 V(UnknownOSRValue) \ | 165 V(UnknownOSRValue) \ |
165 V(ValueOf) | 166 V(ValueOf) |
166 | 167 |
(...skipping 1588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1755 | 1756 |
1756 class LFunctionLiteral: public LTemplateInstruction<1, 0, 0> { | 1757 class LFunctionLiteral: public LTemplateInstruction<1, 0, 0> { |
1757 public: | 1758 public: |
1758 DECLARE_CONCRETE_INSTRUCTION(FunctionLiteral, "function-literal") | 1759 DECLARE_CONCRETE_INSTRUCTION(FunctionLiteral, "function-literal") |
1759 DECLARE_HYDROGEN_ACCESSOR(FunctionLiteral) | 1760 DECLARE_HYDROGEN_ACCESSOR(FunctionLiteral) |
1760 | 1761 |
1761 Handle<SharedFunctionInfo> shared_info() { return hydrogen()->shared_info(); } | 1762 Handle<SharedFunctionInfo> shared_info() { return hydrogen()->shared_info(); } |
1762 }; | 1763 }; |
1763 | 1764 |
1764 | 1765 |
| 1766 class LToFastProperties: public LTemplateInstruction<1, 1, 0> { |
| 1767 public: |
| 1768 explicit LToFastProperties(LOperand* value) { |
| 1769 inputs_[0] = value; |
| 1770 } |
| 1771 |
| 1772 DECLARE_CONCRETE_INSTRUCTION(ToFastProperties, "to-fast-properties") |
| 1773 DECLARE_HYDROGEN_ACCESSOR(ToFastProperties) |
| 1774 }; |
| 1775 |
| 1776 |
1765 class LTypeof: public LTemplateInstruction<1, 1, 0> { | 1777 class LTypeof: public LTemplateInstruction<1, 1, 0> { |
1766 public: | 1778 public: |
1767 explicit LTypeof(LOperand* value) { | 1779 explicit LTypeof(LOperand* value) { |
1768 inputs_[0] = value; | 1780 inputs_[0] = value; |
1769 } | 1781 } |
1770 | 1782 |
1771 DECLARE_CONCRETE_INSTRUCTION(Typeof, "typeof") | 1783 DECLARE_CONCRETE_INSTRUCTION(Typeof, "typeof") |
1772 }; | 1784 }; |
1773 | 1785 |
1774 | 1786 |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2085 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2097 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2086 }; | 2098 }; |
2087 | 2099 |
2088 #undef DECLARE_HYDROGEN_ACCESSOR | 2100 #undef DECLARE_HYDROGEN_ACCESSOR |
2089 #undef DECLARE_INSTRUCTION | 2101 #undef DECLARE_INSTRUCTION |
2090 #undef DECLARE_CONCRETE_INSTRUCTION | 2102 #undef DECLARE_CONCRETE_INSTRUCTION |
2091 | 2103 |
2092 } } // namespace v8::int | 2104 } } // namespace v8::int |
2093 | 2105 |
2094 #endif // V8_X64_LITHIUM_X64_H_ | 2106 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |