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

Side by Side Diff: src/crankshaft/ppc/lithium-ppc.h

Issue 2227673003: PPC/s390: [stubs] Convert GrowElementsStub to TurboFan (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « src/crankshaft/ppc/lithium-codegen-ppc.cc ('k') | src/crankshaft/s390/lithium-codegen-s390.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_ 5 #ifndef V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_
6 #define V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_ 6 #define V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_
7 7
8 #include "src/crankshaft/hydrogen.h" 8 #include "src/crankshaft/hydrogen.h"
9 #include "src/crankshaft/lithium.h" 9 #include "src/crankshaft/lithium.h"
10 #include "src/crankshaft/lithium-allocator.h" 10 #include "src/crankshaft/lithium-allocator.h"
(...skipping 2085 matching lines...) Expand 10 before | Expand all | Expand 10 after
2096 inputs_[3] = key; 2096 inputs_[3] = key;
2097 inputs_[4] = current_capacity; 2097 inputs_[4] = current_capacity;
2098 } 2098 }
2099 2099
2100 LOperand* context() { return inputs_[0]; } 2100 LOperand* context() { return inputs_[0]; }
2101 LOperand* object() { return inputs_[1]; } 2101 LOperand* object() { return inputs_[1]; }
2102 LOperand* elements() { return inputs_[2]; } 2102 LOperand* elements() { return inputs_[2]; }
2103 LOperand* key() { return inputs_[3]; } 2103 LOperand* key() { return inputs_[3]; }
2104 LOperand* current_capacity() { return inputs_[4]; } 2104 LOperand* current_capacity() { return inputs_[4]; }
2105 2105
2106 bool ClobbersDoubleRegisters(Isolate* isolate) const override { return true; }
2107
2106 DECLARE_HYDROGEN_ACCESSOR(MaybeGrowElements) 2108 DECLARE_HYDROGEN_ACCESSOR(MaybeGrowElements)
2107 DECLARE_CONCRETE_INSTRUCTION(MaybeGrowElements, "maybe-grow-elements") 2109 DECLARE_CONCRETE_INSTRUCTION(MaybeGrowElements, "maybe-grow-elements")
2108 }; 2110 };
2109 2111
2110 2112
2111 class LStringAdd final : public LTemplateInstruction<1, 3, 0> { 2113 class LStringAdd final : public LTemplateInstruction<1, 3, 0> {
2112 public: 2114 public:
2113 LStringAdd(LOperand* context, LOperand* left, LOperand* right) { 2115 LStringAdd(LOperand* context, LOperand* left, LOperand* right) {
2114 inputs_[0] = context; 2116 inputs_[0] = context;
2115 inputs_[1] = left; 2117 inputs_[1] = left;
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
2549 2551
2550 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2552 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2551 }; 2553 };
2552 2554
2553 #undef DECLARE_HYDROGEN_ACCESSOR 2555 #undef DECLARE_HYDROGEN_ACCESSOR
2554 #undef DECLARE_CONCRETE_INSTRUCTION 2556 #undef DECLARE_CONCRETE_INSTRUCTION
2555 } // namespace internal 2557 } // namespace internal
2556 } // namespace v8 2558 } // namespace v8
2557 2559
2558 #endif // V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_ 2560 #endif // V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_
OLDNEW
« no previous file with comments | « src/crankshaft/ppc/lithium-codegen-ppc.cc ('k') | src/crankshaft/s390/lithium-codegen-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698