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

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

Issue 2206333003: [stubs] Convert GrowElementsStub to TurboFan (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase 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/compiler/code-assembler.h ('k') | src/crankshaft/arm/lithium-codegen-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 // 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_ARM_LITHIUM_ARM_H_ 5 #ifndef V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_
6 #define V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_ 6 #define V8_CRANKSHAFT_ARM_LITHIUM_ARM_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 2140 matching lines...) Expand 10 before | Expand all | Expand 10 after
2151 inputs_[3] = key; 2151 inputs_[3] = key;
2152 inputs_[4] = current_capacity; 2152 inputs_[4] = current_capacity;
2153 } 2153 }
2154 2154
2155 LOperand* context() { return inputs_[0]; } 2155 LOperand* context() { return inputs_[0]; }
2156 LOperand* object() { return inputs_[1]; } 2156 LOperand* object() { return inputs_[1]; }
2157 LOperand* elements() { return inputs_[2]; } 2157 LOperand* elements() { return inputs_[2]; }
2158 LOperand* key() { return inputs_[3]; } 2158 LOperand* key() { return inputs_[3]; }
2159 LOperand* current_capacity() { return inputs_[4]; } 2159 LOperand* current_capacity() { return inputs_[4]; }
2160 2160
2161 bool ClobbersDoubleRegisters(Isolate* isolate) const override { return true; }
2162
2161 DECLARE_HYDROGEN_ACCESSOR(MaybeGrowElements) 2163 DECLARE_HYDROGEN_ACCESSOR(MaybeGrowElements)
2162 DECLARE_CONCRETE_INSTRUCTION(MaybeGrowElements, "maybe-grow-elements") 2164 DECLARE_CONCRETE_INSTRUCTION(MaybeGrowElements, "maybe-grow-elements")
2163 }; 2165 };
2164 2166
2165 2167
2166 class LStringAdd final : public LTemplateInstruction<1, 3, 0> { 2168 class LStringAdd final : public LTemplateInstruction<1, 3, 0> {
2167 public: 2169 public:
2168 LStringAdd(LOperand* context, LOperand* left, LOperand* right) { 2170 LStringAdd(LOperand* context, LOperand* left, LOperand* right) {
2169 inputs_[0] = context; 2171 inputs_[0] = context;
2170 inputs_[1] = left; 2172 inputs_[1] = left;
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
2628 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2630 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2629 }; 2631 };
2630 2632
2631 #undef DECLARE_HYDROGEN_ACCESSOR 2633 #undef DECLARE_HYDROGEN_ACCESSOR
2632 #undef DECLARE_CONCRETE_INSTRUCTION 2634 #undef DECLARE_CONCRETE_INSTRUCTION
2633 2635
2634 } // namespace internal 2636 } // namespace internal
2635 } // namespace v8 2637 } // namespace v8
2636 2638
2637 #endif // V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_ 2639 #endif // V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « src/compiler/code-assembler.h ('k') | src/crankshaft/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698