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

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

Issue 2226673002: X87: [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/x87/lithium-codegen-x87.cc ('k') | no next file » | 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_X87_LITHIUM_X87_H_ 5 #ifndef V8_CRANKSHAFT_X87_LITHIUM_X87_H_
6 #define V8_CRANKSHAFT_X87_LITHIUM_X87_H_ 6 #define V8_CRANKSHAFT_X87_LITHIUM_X87_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 2139 matching lines...) Expand 10 before | Expand all | Expand 10 after
2150 inputs_[3] = key; 2150 inputs_[3] = key;
2151 inputs_[4] = current_capacity; 2151 inputs_[4] = current_capacity;
2152 } 2152 }
2153 2153
2154 LOperand* context() { return inputs_[0]; } 2154 LOperand* context() { return inputs_[0]; }
2155 LOperand* object() { return inputs_[1]; } 2155 LOperand* object() { return inputs_[1]; }
2156 LOperand* elements() { return inputs_[2]; } 2156 LOperand* elements() { return inputs_[2]; }
2157 LOperand* key() { return inputs_[3]; } 2157 LOperand* key() { return inputs_[3]; }
2158 LOperand* current_capacity() { return inputs_[4]; } 2158 LOperand* current_capacity() { return inputs_[4]; }
2159 2159
2160 bool ClobbersDoubleRegisters(Isolate* isolate) const override { return true; }
2161
2160 DECLARE_HYDROGEN_ACCESSOR(MaybeGrowElements) 2162 DECLARE_HYDROGEN_ACCESSOR(MaybeGrowElements)
2161 DECLARE_CONCRETE_INSTRUCTION(MaybeGrowElements, "maybe-grow-elements") 2163 DECLARE_CONCRETE_INSTRUCTION(MaybeGrowElements, "maybe-grow-elements")
2162 }; 2164 };
2163 2165
2164 2166
2165 class LStringAdd final : public LTemplateInstruction<1, 3, 0> { 2167 class LStringAdd final : public LTemplateInstruction<1, 3, 0> {
2166 public: 2168 public:
2167 LStringAdd(LOperand* context, LOperand* left, LOperand* right) { 2169 LStringAdd(LOperand* context, LOperand* left, LOperand* right) {
2168 inputs_[0] = context; 2170 inputs_[0] = context;
2169 inputs_[1] = left; 2171 inputs_[1] = left;
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
2643 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2645 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2644 }; 2646 };
2645 2647
2646 #undef DECLARE_HYDROGEN_ACCESSOR 2648 #undef DECLARE_HYDROGEN_ACCESSOR
2647 #undef DECLARE_CONCRETE_INSTRUCTION 2649 #undef DECLARE_CONCRETE_INSTRUCTION
2648 2650
2649 } // namespace internal 2651 } // namespace internal
2650 } // namespace v8 2652 } // namespace v8
2651 2653
2652 #endif // V8_CRANKSHAFT_X87_LITHIUM_X87_H_ 2654 #endif // V8_CRANKSHAFT_X87_LITHIUM_X87_H_
OLDNEW
« no previous file with comments | « src/crankshaft/x87/lithium-codegen-x87.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698