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

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

Issue 7083024: Support optimization of named function literals. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 6 months 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 V(StoreKeyedGeneric) \ 162 V(StoreKeyedGeneric) \
163 V(StoreKeyedSpecializedArrayElement) \ 163 V(StoreKeyedSpecializedArrayElement) \
164 V(StoreNamedField) \ 164 V(StoreNamedField) \
165 V(StoreNamedGeneric) \ 165 V(StoreNamedGeneric) \
166 V(StringAdd) \ 166 V(StringAdd) \
167 V(StringCharCodeAt) \ 167 V(StringCharCodeAt) \
168 V(StringCharFromCode) \ 168 V(StringCharFromCode) \
169 V(StringLength) \ 169 V(StringLength) \
170 V(SubI) \ 170 V(SubI) \
171 V(TaggedToI) \ 171 V(TaggedToI) \
172 V(ThisFunction) \
172 V(Throw) \ 173 V(Throw) \
173 V(ToFastProperties) \ 174 V(ToFastProperties) \
174 V(Typeof) \ 175 V(Typeof) \
175 V(TypeofIs) \ 176 V(TypeofIs) \
176 V(TypeofIsAndBranch) \ 177 V(TypeofIsAndBranch) \
177 V(UnaryMathOperation) \ 178 V(UnaryMathOperation) \
178 V(UnknownOSRValue) \ 179 V(UnknownOSRValue) \
179 V(ValueOf) 180 V(ValueOf)
180 181
181 182
(...skipping 1252 matching lines...) Expand 10 before | Expand all | Expand 10 after
1434 class LPushArgument: public LTemplateInstruction<0, 1, 0> { 1435 class LPushArgument: public LTemplateInstruction<0, 1, 0> {
1435 public: 1436 public:
1436 explicit LPushArgument(LOperand* value) { 1437 explicit LPushArgument(LOperand* value) {
1437 inputs_[0] = value; 1438 inputs_[0] = value;
1438 } 1439 }
1439 1440
1440 DECLARE_CONCRETE_INSTRUCTION(PushArgument, "push-argument") 1441 DECLARE_CONCRETE_INSTRUCTION(PushArgument, "push-argument")
1441 }; 1442 };
1442 1443
1443 1444
1445 class LThisFunction: public LTemplateInstruction<1, 0, 0> {
1446 DECLARE_CONCRETE_INSTRUCTION(ThisFunction, "this-function")
1447 };
1448
1449
1444 class LContext: public LTemplateInstruction<1, 0, 0> { 1450 class LContext: public LTemplateInstruction<1, 0, 0> {
1445 public: 1451 public:
1446 DECLARE_CONCRETE_INSTRUCTION(Context, "context") 1452 DECLARE_CONCRETE_INSTRUCTION(Context, "context")
1447 }; 1453 };
1448 1454
1449 1455
1450 class LOuterContext: public LTemplateInstruction<1, 1, 0> { 1456 class LOuterContext: public LTemplateInstruction<1, 1, 0> {
1451 public: 1457 public:
1452 explicit LOuterContext(LOperand* context) { 1458 explicit LOuterContext(LOperand* context) {
1453 inputs_[0] = context; 1459 inputs_[0] = context;
(...skipping 870 matching lines...) Expand 10 before | Expand all | Expand 10 after
2324 2330
2325 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2331 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2326 }; 2332 };
2327 2333
2328 #undef DECLARE_HYDROGEN_ACCESSOR 2334 #undef DECLARE_HYDROGEN_ACCESSOR
2329 #undef DECLARE_CONCRETE_INSTRUCTION 2335 #undef DECLARE_CONCRETE_INSTRUCTION
2330 2336
2331 } } // namespace v8::int 2337 } } // namespace v8::int
2332 2338
2333 #endif // V8_X64_LITHIUM_X64_H_ 2339 #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