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

Side by Side Diff: src/ia32/lithium-ia32.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/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 V(StoreKeyedGeneric) \ 156 V(StoreKeyedGeneric) \
157 V(StoreKeyedSpecializedArrayElement) \ 157 V(StoreKeyedSpecializedArrayElement) \
158 V(StoreNamedField) \ 158 V(StoreNamedField) \
159 V(StoreNamedGeneric) \ 159 V(StoreNamedGeneric) \
160 V(StringAdd) \ 160 V(StringAdd) \
161 V(StringCharCodeAt) \ 161 V(StringCharCodeAt) \
162 V(StringCharFromCode) \ 162 V(StringCharFromCode) \
163 V(StringLength) \ 163 V(StringLength) \
164 V(SubI) \ 164 V(SubI) \
165 V(TaggedToI) \ 165 V(TaggedToI) \
166 V(ThisFunction) \
166 V(Throw) \ 167 V(Throw) \
167 V(ToFastProperties) \ 168 V(ToFastProperties) \
168 V(Typeof) \ 169 V(Typeof) \
169 V(TypeofIs) \ 170 V(TypeofIs) \
170 V(TypeofIsAndBranch) \ 171 V(TypeofIsAndBranch) \
171 V(UnaryMathOperation) \ 172 V(UnaryMathOperation) \
172 V(UnknownOSRValue) \ 173 V(UnknownOSRValue) \
173 V(ValueOf) 174 V(ValueOf)
174 175
175 176
(...skipping 1288 matching lines...) Expand 10 before | Expand all | Expand 10 after
1464 class LPushArgument: public LTemplateInstruction<0, 1, 0> { 1465 class LPushArgument: public LTemplateInstruction<0, 1, 0> {
1465 public: 1466 public:
1466 explicit LPushArgument(LOperand* value) { 1467 explicit LPushArgument(LOperand* value) {
1467 inputs_[0] = value; 1468 inputs_[0] = value;
1468 } 1469 }
1469 1470
1470 DECLARE_CONCRETE_INSTRUCTION(PushArgument, "push-argument") 1471 DECLARE_CONCRETE_INSTRUCTION(PushArgument, "push-argument")
1471 }; 1472 };
1472 1473
1473 1474
1475 class LThisFunction: public LTemplateInstruction<1, 0, 0> {
1476 DECLARE_CONCRETE_INSTRUCTION(ThisFunction, "this-function")
1477 };
1478
1479
1474 class LContext: public LTemplateInstruction<1, 0, 0> { 1480 class LContext: public LTemplateInstruction<1, 0, 0> {
1475 public: 1481 public:
1476 DECLARE_CONCRETE_INSTRUCTION(Context, "context") 1482 DECLARE_CONCRETE_INSTRUCTION(Context, "context")
1477 }; 1483 };
1478 1484
1479 1485
1480 class LOuterContext: public LTemplateInstruction<1, 1, 0> { 1486 class LOuterContext: public LTemplateInstruction<1, 1, 0> {
1481 public: 1487 public:
1482 explicit LOuterContext(LOperand* context) { 1488 explicit LOuterContext(LOperand* context) {
1483 inputs_[0] = context; 1489 inputs_[0] = context;
(...skipping 903 matching lines...) Expand 10 before | Expand all | Expand 10 after
2387 2393
2388 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2394 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2389 }; 2395 };
2390 2396
2391 #undef DECLARE_HYDROGEN_ACCESSOR 2397 #undef DECLARE_HYDROGEN_ACCESSOR
2392 #undef DECLARE_CONCRETE_INSTRUCTION 2398 #undef DECLARE_CONCRETE_INSTRUCTION
2393 2399
2394 } } // namespace v8::internal 2400 } } // namespace v8::internal
2395 2401
2396 #endif // V8_IA32_LITHIUM_IA32_H_ 2402 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698