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

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

Issue 6240012: Optimize calls to object literal properties that are initialized with a funct... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: rebased and fixed lintos Created 9 years, 9 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/arm/full-codegen-arm.cc ('k') | 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 V(StoreKeyedGeneric) \ 148 V(StoreKeyedGeneric) \
149 V(StoreNamedField) \ 149 V(StoreNamedField) \
150 V(StoreNamedGeneric) \ 150 V(StoreNamedGeneric) \
151 V(StorePixelArrayElement) \ 151 V(StorePixelArrayElement) \
152 V(StringCharCodeAt) \ 152 V(StringCharCodeAt) \
153 V(StringCharFromCode) \ 153 V(StringCharFromCode) \
154 V(StringLength) \ 154 V(StringLength) \
155 V(SubI) \ 155 V(SubI) \
156 V(TaggedToI) \ 156 V(TaggedToI) \
157 V(Throw) \ 157 V(Throw) \
158 V(ToFastProperties) \
158 V(Typeof) \ 159 V(Typeof) \
159 V(TypeofIs) \ 160 V(TypeofIs) \
160 V(TypeofIsAndBranch) \ 161 V(TypeofIsAndBranch) \
161 V(IsConstructCall) \ 162 V(IsConstructCall) \
162 V(IsConstructCallAndBranch) \ 163 V(IsConstructCallAndBranch) \
163 V(UnaryMathOperation) \ 164 V(UnaryMathOperation) \
164 V(UnknownOSRValue) \ 165 V(UnknownOSRValue) \
165 V(ValueOf) 166 V(ValueOf)
166 167
167 168
(...skipping 1592 matching lines...) Expand 10 before | Expand all | Expand 10 after
1760 1761
1761 class LFunctionLiteral: public LTemplateInstruction<1, 0, 0> { 1762 class LFunctionLiteral: public LTemplateInstruction<1, 0, 0> {
1762 public: 1763 public:
1763 DECLARE_CONCRETE_INSTRUCTION(FunctionLiteral, "function-literal") 1764 DECLARE_CONCRETE_INSTRUCTION(FunctionLiteral, "function-literal")
1764 DECLARE_HYDROGEN_ACCESSOR(FunctionLiteral) 1765 DECLARE_HYDROGEN_ACCESSOR(FunctionLiteral)
1765 1766
1766 Handle<SharedFunctionInfo> shared_info() { return hydrogen()->shared_info(); } 1767 Handle<SharedFunctionInfo> shared_info() { return hydrogen()->shared_info(); }
1767 }; 1768 };
1768 1769
1769 1770
1771 class LToFastProperties: public LTemplateInstruction<1, 1, 0> {
1772 public:
1773 explicit LToFastProperties(LOperand* value) {
1774 inputs_[0] = value;
1775 }
1776
1777 DECLARE_CONCRETE_INSTRUCTION(ToFastProperties, "to-fast-properties")
1778 DECLARE_HYDROGEN_ACCESSOR(ToFastProperties)
1779 };
1780
1781
1770 class LTypeof: public LTemplateInstruction<1, 1, 0> { 1782 class LTypeof: public LTemplateInstruction<1, 1, 0> {
1771 public: 1783 public:
1772 explicit LTypeof(LOperand* value) { 1784 explicit LTypeof(LOperand* value) {
1773 inputs_[0] = value; 1785 inputs_[0] = value;
1774 } 1786 }
1775 1787
1776 DECLARE_CONCRETE_INSTRUCTION(Typeof, "typeof") 1788 DECLARE_CONCRETE_INSTRUCTION(Typeof, "typeof")
1777 }; 1789 };
1778 1790
1779 1791
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
2084 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2096 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2085 }; 2097 };
2086 2098
2087 #undef DECLARE_HYDROGEN_ACCESSOR 2099 #undef DECLARE_HYDROGEN_ACCESSOR
2088 #undef DECLARE_INSTRUCTION 2100 #undef DECLARE_INSTRUCTION
2089 #undef DECLARE_CONCRETE_INSTRUCTION 2101 #undef DECLARE_CONCRETE_INSTRUCTION
2090 2102
2091 } } // namespace v8::internal 2103 } } // namespace v8::internal
2092 2104
2093 #endif // V8_ARM_LITHIUM_ARM_H_ 2105 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698