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

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

Issue 12880017: Build fast literals in hydrogen. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 8 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 V(ConstantI) \ 90 V(ConstantI) \
91 V(ConstantT) \ 91 V(ConstantT) \
92 V(Context) \ 92 V(Context) \
93 V(DeclareGlobals) \ 93 V(DeclareGlobals) \
94 V(DeleteProperty) \ 94 V(DeleteProperty) \
95 V(Deoptimize) \ 95 V(Deoptimize) \
96 V(DivI) \ 96 V(DivI) \
97 V(DoubleToI) \ 97 V(DoubleToI) \
98 V(DummyUse) \ 98 V(DummyUse) \
99 V(ElementsKind) \ 99 V(ElementsKind) \
100 V(FastLiteral) \
101 V(FixedArrayBaseLength) \ 100 V(FixedArrayBaseLength) \
102 V(MapEnumLength) \ 101 V(MapEnumLength) \
103 V(FunctionLiteral) \ 102 V(FunctionLiteral) \
104 V(GetCachedArrayIndex) \ 103 V(GetCachedArrayIndex) \
105 V(GlobalObject) \ 104 V(GlobalObject) \
106 V(GlobalReceiver) \ 105 V(GlobalReceiver) \
107 V(Goto) \ 106 V(Goto) \
108 V(HasCachedArrayIndexAndBranch) \ 107 V(HasCachedArrayIndexAndBranch) \
109 V(HasInstanceTypeAndBranch) \ 108 V(HasInstanceTypeAndBranch) \
110 V(In) \ 109 V(In) \
(...skipping 2149 matching lines...) Expand 10 before | Expand all | Expand 10 after
2260 } 2259 }
2261 2260
2262 LOperand* size() { return inputs_[0]; } 2261 LOperand* size() { return inputs_[0]; }
2263 LOperand* temp() { return temps_[0]; } 2262 LOperand* temp() { return temps_[0]; }
2264 2263
2265 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") 2264 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate")
2266 DECLARE_HYDROGEN_ACCESSOR(Allocate) 2265 DECLARE_HYDROGEN_ACCESSOR(Allocate)
2267 }; 2266 };
2268 2267
2269 2268
2270 class LFastLiteral: public LTemplateInstruction<1, 0, 0> {
2271 public:
2272 DECLARE_CONCRETE_INSTRUCTION(FastLiteral, "fast-literal")
2273 DECLARE_HYDROGEN_ACCESSOR(FastLiteral)
2274 };
2275
2276
2277 class LArrayLiteral: public LTemplateInstruction<1, 0, 0> { 2269 class LArrayLiteral: public LTemplateInstruction<1, 0, 0> {
2278 public: 2270 public:
2279 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal") 2271 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal")
2280 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral) 2272 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral)
2281 }; 2273 };
2282 2274
2283 2275
2284 class LObjectLiteral: public LTemplateInstruction<1, 0, 0> { 2276 class LObjectLiteral: public LTemplateInstruction<1, 0, 0> {
2285 public: 2277 public:
2286 DECLARE_CONCRETE_INSTRUCTION(ObjectLiteral, "object-literal") 2278 DECLARE_CONCRETE_INSTRUCTION(ObjectLiteral, "object-literal")
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
2633 2625
2634 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2626 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2635 }; 2627 };
2636 2628
2637 #undef DECLARE_HYDROGEN_ACCESSOR 2629 #undef DECLARE_HYDROGEN_ACCESSOR
2638 #undef DECLARE_CONCRETE_INSTRUCTION 2630 #undef DECLARE_CONCRETE_INSTRUCTION
2639 2631
2640 } } // namespace v8::int 2632 } } // namespace v8::int
2641 2633
2642 #endif // V8_X64_LITHIUM_X64_H_ 2634 #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