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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 V(CmpT) \ | 85 V(CmpT) \ |
86 V(ConstantD) \ | 86 V(ConstantD) \ |
87 V(ConstantI) \ | 87 V(ConstantI) \ |
88 V(ConstantT) \ | 88 V(ConstantT) \ |
89 V(Context) \ | 89 V(Context) \ |
90 V(DeleteProperty) \ | 90 V(DeleteProperty) \ |
91 V(Deoptimize) \ | 91 V(Deoptimize) \ |
92 V(DivI) \ | 92 V(DivI) \ |
93 V(DoubleToI) \ | 93 V(DoubleToI) \ |
94 V(ElementsKind) \ | 94 V(ElementsKind) \ |
| 95 V(FastLiteral) \ |
95 V(FixedArrayBaseLength) \ | 96 V(FixedArrayBaseLength) \ |
96 V(FunctionLiteral) \ | 97 V(FunctionLiteral) \ |
97 V(GetCachedArrayIndex) \ | 98 V(GetCachedArrayIndex) \ |
98 V(GlobalObject) \ | 99 V(GlobalObject) \ |
99 V(GlobalReceiver) \ | 100 V(GlobalReceiver) \ |
100 V(Goto) \ | 101 V(Goto) \ |
101 V(HasCachedArrayIndexAndBranch) \ | 102 V(HasCachedArrayIndexAndBranch) \ |
102 V(HasInstanceTypeAndBranch) \ | 103 V(HasInstanceTypeAndBranch) \ |
103 V(In) \ | 104 V(In) \ |
104 V(InstanceOf) \ | 105 V(InstanceOf) \ |
(...skipping 22 matching lines...) Expand all Loading... |
127 V(LoadKeyedGeneric) \ | 128 V(LoadKeyedGeneric) \ |
128 V(LoadKeyedSpecializedArrayElement) \ | 129 V(LoadKeyedSpecializedArrayElement) \ |
129 V(LoadNamedField) \ | 130 V(LoadNamedField) \ |
130 V(LoadNamedFieldPolymorphic) \ | 131 V(LoadNamedFieldPolymorphic) \ |
131 V(LoadNamedGeneric) \ | 132 V(LoadNamedGeneric) \ |
132 V(ModI) \ | 133 V(ModI) \ |
133 V(MulI) \ | 134 V(MulI) \ |
134 V(NumberTagD) \ | 135 V(NumberTagD) \ |
135 V(NumberTagI) \ | 136 V(NumberTagI) \ |
136 V(NumberUntagD) \ | 137 V(NumberUntagD) \ |
137 V(ObjectLiteralFast) \ | 138 V(ObjectLiteral) \ |
138 V(ObjectLiteralGeneric) \ | |
139 V(OsrEntry) \ | 139 V(OsrEntry) \ |
140 V(OuterContext) \ | 140 V(OuterContext) \ |
141 V(Parameter) \ | 141 V(Parameter) \ |
142 V(Power) \ | 142 V(Power) \ |
143 V(PushArgument) \ | 143 V(PushArgument) \ |
144 V(Random) \ | 144 V(Random) \ |
145 V(RegExpLiteral) \ | 145 V(RegExpLiteral) \ |
146 V(Return) \ | 146 V(Return) \ |
147 V(ShiftI) \ | 147 V(ShiftI) \ |
148 V(SmiTag) \ | 148 V(SmiTag) \ |
(...skipping 1753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1902 inputs_[0] = value; | 1902 inputs_[0] = value; |
1903 temps_[0] = temp; | 1903 temps_[0] = temp; |
1904 } | 1904 } |
1905 | 1905 |
1906 LOperand* unclamped() { return inputs_[0]; } | 1906 LOperand* unclamped() { return inputs_[0]; } |
1907 | 1907 |
1908 DECLARE_CONCRETE_INSTRUCTION(ClampTToUint8, "clamp-t-to-uint8") | 1908 DECLARE_CONCRETE_INSTRUCTION(ClampTToUint8, "clamp-t-to-uint8") |
1909 }; | 1909 }; |
1910 | 1910 |
1911 | 1911 |
| 1912 class LFastLiteral: public LTemplateInstruction<1, 0, 0> { |
| 1913 public: |
| 1914 DECLARE_CONCRETE_INSTRUCTION(FastLiteral, "fast-literal") |
| 1915 DECLARE_HYDROGEN_ACCESSOR(FastLiteral) |
| 1916 }; |
| 1917 |
| 1918 |
1912 class LArrayLiteral: public LTemplateInstruction<1, 0, 0> { | 1919 class LArrayLiteral: public LTemplateInstruction<1, 0, 0> { |
1913 public: | 1920 public: |
1914 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal") | 1921 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal") |
1915 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral) | 1922 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral) |
1916 }; | 1923 }; |
1917 | 1924 |
1918 | 1925 |
1919 class LObjectLiteralFast: public LTemplateInstruction<1, 0, 0> { | 1926 class LObjectLiteral: public LTemplateInstruction<1, 0, 0> { |
1920 public: | 1927 public: |
1921 DECLARE_CONCRETE_INSTRUCTION(ObjectLiteralFast, "object-literal-fast") | 1928 DECLARE_CONCRETE_INSTRUCTION(ObjectLiteral, "object-literal") |
1922 DECLARE_HYDROGEN_ACCESSOR(ObjectLiteralFast) | 1929 DECLARE_HYDROGEN_ACCESSOR(ObjectLiteral) |
1923 }; | 1930 }; |
1924 | 1931 |
1925 | 1932 |
1926 class LObjectLiteralGeneric: public LTemplateInstruction<1, 0, 0> { | |
1927 public: | |
1928 DECLARE_CONCRETE_INSTRUCTION(ObjectLiteralGeneric, "object-literal-generic") | |
1929 DECLARE_HYDROGEN_ACCESSOR(ObjectLiteralGeneric) | |
1930 }; | |
1931 | |
1932 | |
1933 class LRegExpLiteral: public LTemplateInstruction<1, 0, 0> { | 1933 class LRegExpLiteral: public LTemplateInstruction<1, 0, 0> { |
1934 public: | 1934 public: |
1935 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal") | 1935 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal") |
1936 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral) | 1936 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral) |
1937 }; | 1937 }; |
1938 | 1938 |
1939 | 1939 |
1940 class LFunctionLiteral: public LTemplateInstruction<1, 0, 0> { | 1940 class LFunctionLiteral: public LTemplateInstruction<1, 0, 0> { |
1941 public: | 1941 public: |
1942 DECLARE_CONCRETE_INSTRUCTION(FunctionLiteral, "function-literal") | 1942 DECLARE_CONCRETE_INSTRUCTION(FunctionLiteral, "function-literal") |
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2269 | 2269 |
2270 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2270 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2271 }; | 2271 }; |
2272 | 2272 |
2273 #undef DECLARE_HYDROGEN_ACCESSOR | 2273 #undef DECLARE_HYDROGEN_ACCESSOR |
2274 #undef DECLARE_CONCRETE_INSTRUCTION | 2274 #undef DECLARE_CONCRETE_INSTRUCTION |
2275 | 2275 |
2276 } } // namespace v8::internal | 2276 } } // namespace v8::internal |
2277 | 2277 |
2278 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2278 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |