Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(806)

Side by Side Diff: src/mips/lithium-mips.h

Issue 8745012: MIPS: Implement crankshaft support for nested object literals. (Closed)
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 V(LoadKeyedGeneric) \ 127 V(LoadKeyedGeneric) \
128 V(LoadKeyedSpecializedArrayElement) \ 128 V(LoadKeyedSpecializedArrayElement) \
129 V(LoadNamedField) \ 129 V(LoadNamedField) \
130 V(LoadNamedFieldPolymorphic) \ 130 V(LoadNamedFieldPolymorphic) \
131 V(LoadNamedGeneric) \ 131 V(LoadNamedGeneric) \
132 V(ModI) \ 132 V(ModI) \
133 V(MulI) \ 133 V(MulI) \
134 V(NumberTagD) \ 134 V(NumberTagD) \
135 V(NumberTagI) \ 135 V(NumberTagI) \
136 V(NumberUntagD) \ 136 V(NumberUntagD) \
137 V(ObjectLiteral) \ 137 V(ObjectLiteralFast) \
138 V(ObjectLiteralGeneric) \
138 V(OsrEntry) \ 139 V(OsrEntry) \
139 V(OuterContext) \ 140 V(OuterContext) \
140 V(Parameter) \ 141 V(Parameter) \
141 V(Power) \ 142 V(Power) \
142 V(PushArgument) \ 143 V(PushArgument) \
143 V(RegExpLiteral) \ 144 V(RegExpLiteral) \
144 V(Return) \ 145 V(Return) \
145 V(ShiftI) \ 146 V(ShiftI) \
146 V(SmiTag) \ 147 V(SmiTag) \
147 V(SmiUntag) \ 148 V(SmiUntag) \
(...skipping 1744 matching lines...) Expand 10 before | Expand all | Expand 10 after
1892 }; 1893 };
1893 1894
1894 1895
1895 class LArrayLiteral: public LTemplateInstruction<1, 0, 0> { 1896 class LArrayLiteral: public LTemplateInstruction<1, 0, 0> {
1896 public: 1897 public:
1897 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal") 1898 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal")
1898 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral) 1899 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral)
1899 }; 1900 };
1900 1901
1901 1902
1902 class LObjectLiteral: public LTemplateInstruction<1, 0, 0> { 1903 class LObjectLiteralFast: public LTemplateInstruction<1, 0, 0> {
1903 public: 1904 public:
1904 DECLARE_CONCRETE_INSTRUCTION(ObjectLiteral, "object-literal") 1905 DECLARE_CONCRETE_INSTRUCTION(ObjectLiteralFast, "object-literal-fast")
1905 DECLARE_HYDROGEN_ACCESSOR(ObjectLiteral) 1906 DECLARE_HYDROGEN_ACCESSOR(ObjectLiteralFast)
1906 }; 1907 };
1907 1908
1908 1909
1910 class LObjectLiteralGeneric: public LTemplateInstruction<1, 0, 0> {
1911 public:
1912 DECLARE_CONCRETE_INSTRUCTION(ObjectLiteralGeneric, "object-literal-generic")
1913 DECLARE_HYDROGEN_ACCESSOR(ObjectLiteralGeneric)
1914 };
1915
1916
1909 class LRegExpLiteral: public LTemplateInstruction<1, 0, 0> { 1917 class LRegExpLiteral: public LTemplateInstruction<1, 0, 0> {
1910 public: 1918 public:
1911 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal") 1919 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal")
1912 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral) 1920 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral)
1913 }; 1921 };
1914 1922
1915 1923
1916 class LFunctionLiteral: public LTemplateInstruction<1, 0, 0> { 1924 class LFunctionLiteral: public LTemplateInstruction<1, 0, 0> {
1917 public: 1925 public:
1918 DECLARE_CONCRETE_INSTRUCTION(FunctionLiteral, "function-literal") 1926 DECLARE_CONCRETE_INSTRUCTION(FunctionLiteral, "function-literal")
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
2248 2256
2249 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2257 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2250 }; 2258 };
2251 2259
2252 #undef DECLARE_HYDROGEN_ACCESSOR 2260 #undef DECLARE_HYDROGEN_ACCESSOR
2253 #undef DECLARE_CONCRETE_INSTRUCTION 2261 #undef DECLARE_CONCRETE_INSTRUCTION
2254 2262
2255 } } // namespace v8::internal 2263 } } // namespace v8::internal
2256 2264
2257 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2265 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698