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

Side by Side Diff: src/arm/lithium-arm.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 | « no previous file | src/arm/lithium-arm.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 1251 matching lines...) Expand 10 before | Expand all | Expand 10 after
1433 class LPushArgument: public LTemplateInstruction<0, 1, 0> { 1434 class LPushArgument: public LTemplateInstruction<0, 1, 0> {
1434 public: 1435 public:
1435 explicit LPushArgument(LOperand* value) { 1436 explicit LPushArgument(LOperand* value) {
1436 inputs_[0] = value; 1437 inputs_[0] = value;
1437 } 1438 }
1438 1439
1439 DECLARE_CONCRETE_INSTRUCTION(PushArgument, "push-argument") 1440 DECLARE_CONCRETE_INSTRUCTION(PushArgument, "push-argument")
1440 }; 1441 };
1441 1442
1442 1443
1444 class LThisFunction: public LTemplateInstruction<1, 0, 0> {
1445 DECLARE_CONCRETE_INSTRUCTION(ThisFunction, "this-function")
1446 };
1447
1448
1443 class LContext: public LTemplateInstruction<1, 0, 0> { 1449 class LContext: public LTemplateInstruction<1, 0, 0> {
1444 public: 1450 public:
1445 DECLARE_CONCRETE_INSTRUCTION(Context, "context") 1451 DECLARE_CONCRETE_INSTRUCTION(Context, "context")
1446 }; 1452 };
1447 1453
1448 1454
1449 class LOuterContext: public LTemplateInstruction<1, 1, 0> { 1455 class LOuterContext: public LTemplateInstruction<1, 1, 0> {
1450 public: 1456 public:
1451 explicit LOuterContext(LOperand* context) { 1457 explicit LOuterContext(LOperand* context) {
1452 inputs_[0] = context; 1458 inputs_[0] = context;
(...skipping 886 matching lines...) Expand 10 before | Expand all | Expand 10 after
2339 2345
2340 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2346 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2341 }; 2347 };
2342 2348
2343 #undef DECLARE_HYDROGEN_ACCESSOR 2349 #undef DECLARE_HYDROGEN_ACCESSOR
2344 #undef DECLARE_CONCRETE_INSTRUCTION 2350 #undef DECLARE_CONCRETE_INSTRUCTION
2345 2351
2346 } } // namespace v8::internal 2352 } } // namespace v8::internal
2347 2353
2348 #endif // V8_ARM_LITHIUM_ARM_H_ 2354 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698