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

Side by Side Diff: src/arm/lithium-arm.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 | « 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 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(FunctionLiteral) \ 101 V(FunctionLiteral) \
103 V(GetCachedArrayIndex) \ 102 V(GetCachedArrayIndex) \
104 V(GlobalObject) \ 103 V(GlobalObject) \
105 V(GlobalReceiver) \ 104 V(GlobalReceiver) \
106 V(Goto) \ 105 V(Goto) \
107 V(HasCachedArrayIndexAndBranch) \ 106 V(HasCachedArrayIndexAndBranch) \
108 V(HasInstanceTypeAndBranch) \ 107 V(HasInstanceTypeAndBranch) \
109 V(In) \ 108 V(In) \
110 V(InstanceOf) \ 109 V(InstanceOf) \
(...skipping 2237 matching lines...) Expand 10 before | Expand all | Expand 10 after
2348 2347
2349 LOperand* size() { return inputs_[1]; } 2348 LOperand* size() { return inputs_[1]; }
2350 LOperand* temp1() { return temps_[0]; } 2349 LOperand* temp1() { return temps_[0]; }
2351 LOperand* temp2() { return temps_[1]; } 2350 LOperand* temp2() { return temps_[1]; }
2352 2351
2353 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") 2352 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate")
2354 DECLARE_HYDROGEN_ACCESSOR(Allocate) 2353 DECLARE_HYDROGEN_ACCESSOR(Allocate)
2355 }; 2354 };
2356 2355
2357 2356
2358 class LFastLiteral: public LTemplateInstruction<1, 0, 0> {
2359 public:
2360 DECLARE_CONCRETE_INSTRUCTION(FastLiteral, "fast-literal")
2361 DECLARE_HYDROGEN_ACCESSOR(FastLiteral)
2362 };
2363
2364
2365 class LArrayLiteral: public LTemplateInstruction<1, 0, 0> { 2357 class LArrayLiteral: public LTemplateInstruction<1, 0, 0> {
2366 public: 2358 public:
2367 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal") 2359 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal")
2368 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral) 2360 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral)
2369 }; 2361 };
2370 2362
2371 2363
2372 class LObjectLiteral: public LTemplateInstruction<1, 0, 0> { 2364 class LObjectLiteral: public LTemplateInstruction<1, 0, 0> {
2373 public: 2365 public:
2374 DECLARE_CONCRETE_INSTRUCTION(ObjectLiteral, "object-literal") 2366 DECLARE_CONCRETE_INSTRUCTION(ObjectLiteral, "object-literal")
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
2735 2727
2736 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2728 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2737 }; 2729 };
2738 2730
2739 #undef DECLARE_HYDROGEN_ACCESSOR 2731 #undef DECLARE_HYDROGEN_ACCESSOR
2740 #undef DECLARE_CONCRETE_INSTRUCTION 2732 #undef DECLARE_CONCRETE_INSTRUCTION
2741 2733
2742 } } // namespace v8::internal 2734 } } // namespace v8::internal
2743 2735
2744 #endif // V8_ARM_LITHIUM_ARM_H_ 2736 #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