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

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

Issue 8640001: Implement crankshaft support for nested object literals. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Ported lithium part to x64 and ARM. 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 | Annotate | Revision Log
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.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 1735 matching lines...) Expand 10 before | Expand all | Expand 10 after
1883 }; 1884 };
1884 1885
1885 1886
1886 class LArrayLiteral: public LTemplateInstruction<1, 0, 0> { 1887 class LArrayLiteral: public LTemplateInstruction<1, 0, 0> {
1887 public: 1888 public:
1888 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal") 1889 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal")
1889 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral) 1890 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral)
1890 }; 1891 };
1891 1892
1892 1893
1893 class LObjectLiteral: public LTemplateInstruction<1, 0, 0> { 1894 class LObjectLiteralFast: public LTemplateInstruction<1, 0, 0> {
1894 public: 1895 public:
1895 DECLARE_CONCRETE_INSTRUCTION(ObjectLiteral, "object-literal") 1896 DECLARE_CONCRETE_INSTRUCTION(ObjectLiteralFast, "object-literal-fast")
1896 DECLARE_HYDROGEN_ACCESSOR(ObjectLiteral) 1897 DECLARE_HYDROGEN_ACCESSOR(ObjectLiteralFast)
1897 }; 1898 };
1898 1899
1899 1900
1901 class LObjectLiteralGeneric: public LTemplateInstruction<1, 0, 0> {
1902 public:
1903 DECLARE_CONCRETE_INSTRUCTION(ObjectLiteralGeneric, "object-literal-generic")
1904 DECLARE_HYDROGEN_ACCESSOR(ObjectLiteralGeneric)
1905 };
1906
1907
1900 class LRegExpLiteral: public LTemplateInstruction<1, 0, 0> { 1908 class LRegExpLiteral: public LTemplateInstruction<1, 0, 0> {
1901 public: 1909 public:
1902 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal") 1910 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal")
1903 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral) 1911 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral)
1904 }; 1912 };
1905 1913
1906 1914
1907 class LFunctionLiteral: public LTemplateInstruction<1, 0, 0> { 1915 class LFunctionLiteral: public LTemplateInstruction<1, 0, 0> {
1908 public: 1916 public:
1909 DECLARE_CONCRETE_INSTRUCTION(FunctionLiteral, "function-literal") 1917 DECLARE_CONCRETE_INSTRUCTION(FunctionLiteral, "function-literal")
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
2235 2243
2236 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2244 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2237 }; 2245 };
2238 2246
2239 #undef DECLARE_HYDROGEN_ACCESSOR 2247 #undef DECLARE_HYDROGEN_ACCESSOR
2240 #undef DECLARE_CONCRETE_INSTRUCTION 2248 #undef DECLARE_CONCRETE_INSTRUCTION
2241 2249
2242 } } // namespace v8::int 2250 } } // namespace v8::int
2243 2251
2244 #endif // V8_X64_LITHIUM_X64_H_ 2252 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698