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

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, 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 | « no previous file | src/arm/lithium-arm.cc » ('j') | src/hydrogen.h » ('J')
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 2251 matching lines...) Expand 10 before | Expand all | Expand 10 after
2362 2361
2363 LOperand* size() { return inputs_[1]; } 2362 LOperand* size() { return inputs_[1]; }
2364 LOperand* temp1() { return temps_[0]; } 2363 LOperand* temp1() { return temps_[0]; }
2365 LOperand* temp2() { return temps_[1]; } 2364 LOperand* temp2() { return temps_[1]; }
2366 2365
2367 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") 2366 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate")
2368 DECLARE_HYDROGEN_ACCESSOR(Allocate) 2367 DECLARE_HYDROGEN_ACCESSOR(Allocate)
2369 }; 2368 };
2370 2369
2371 2370
2372 class LFastLiteral: public LTemplateInstruction<1, 0, 0> {
2373 public:
2374 DECLARE_CONCRETE_INSTRUCTION(FastLiteral, "fast-literal")
2375 DECLARE_HYDROGEN_ACCESSOR(FastLiteral)
2376 };
2377
2378
2379 class LArrayLiteral: public LTemplateInstruction<1, 0, 0> { 2371 class LArrayLiteral: public LTemplateInstruction<1, 0, 0> {
2380 public: 2372 public:
2381 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal") 2373 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal")
2382 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral) 2374 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral)
2383 }; 2375 };
2384 2376
2385 2377
2386 class LObjectLiteral: public LTemplateInstruction<1, 0, 0> { 2378 class LObjectLiteral: public LTemplateInstruction<1, 0, 0> {
2387 public: 2379 public:
2388 DECLARE_CONCRETE_INSTRUCTION(ObjectLiteral, "object-literal") 2380 DECLARE_CONCRETE_INSTRUCTION(ObjectLiteral, "object-literal")
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
2749 2741
2750 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2742 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2751 }; 2743 };
2752 2744
2753 #undef DECLARE_HYDROGEN_ACCESSOR 2745 #undef DECLARE_HYDROGEN_ACCESSOR
2754 #undef DECLARE_CONCRETE_INSTRUCTION 2746 #undef DECLARE_CONCRETE_INSTRUCTION
2755 2747
2756 } } // namespace v8::internal 2748 } } // namespace v8::internal
2757 2749
2758 #endif // V8_ARM_LITHIUM_ARM_H_ 2750 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | src/hydrogen.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698