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

Side by Side Diff: src/crankshaft/s390/lithium-s390.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/s390/lithium-codegen-s390.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 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_S390_LITHIUM_S390_H_ 5 #ifndef V8_CRANKSHAFT_S390_LITHIUM_S390_H_
6 #define V8_CRANKSHAFT_S390_LITHIUM_S390_H_ 6 #define V8_CRANKSHAFT_S390_LITHIUM_S390_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 1949 matching lines...) Expand 10 before | Expand all | Expand 10 after
1960 inputs_[3] = key; 1960 inputs_[3] = key;
1961 inputs_[4] = current_capacity; 1961 inputs_[4] = current_capacity;
1962 } 1962 }
1963 1963
1964 LOperand* context() { return inputs_[0]; } 1964 LOperand* context() { return inputs_[0]; }
1965 LOperand* object() { return inputs_[1]; } 1965 LOperand* object() { return inputs_[1]; }
1966 LOperand* elements() { return inputs_[2]; } 1966 LOperand* elements() { return inputs_[2]; }
1967 LOperand* key() { return inputs_[3]; } 1967 LOperand* key() { return inputs_[3]; }
1968 LOperand* current_capacity() { return inputs_[4]; } 1968 LOperand* current_capacity() { return inputs_[4]; }
1969 1969
1970 bool ClobbersDoubleRegisters(Isolate* isolate) const override { return true; }
1971
1970 DECLARE_HYDROGEN_ACCESSOR(MaybeGrowElements) 1972 DECLARE_HYDROGEN_ACCESSOR(MaybeGrowElements)
1971 DECLARE_CONCRETE_INSTRUCTION(MaybeGrowElements, "maybe-grow-elements") 1973 DECLARE_CONCRETE_INSTRUCTION(MaybeGrowElements, "maybe-grow-elements")
1972 }; 1974 };
1973 1975
1974 class LStringAdd final : public LTemplateInstruction<1, 3, 0> { 1976 class LStringAdd final : public LTemplateInstruction<1, 3, 0> {
1975 public: 1977 public:
1976 LStringAdd(LOperand* context, LOperand* left, LOperand* right) { 1978 LStringAdd(LOperand* context, LOperand* left, LOperand* right) {
1977 inputs_[0] = context; 1979 inputs_[0] = context;
1978 inputs_[1] = left; 1980 inputs_[1] = left;
1979 inputs_[2] = right; 1981 inputs_[2] = right;
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
2390 2392
2391 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2393 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2392 }; 2394 };
2393 2395
2394 #undef DECLARE_HYDROGEN_ACCESSOR 2396 #undef DECLARE_HYDROGEN_ACCESSOR
2395 #undef DECLARE_CONCRETE_INSTRUCTION 2397 #undef DECLARE_CONCRETE_INSTRUCTION
2396 } // namespace internal 2398 } // namespace internal
2397 } // namespace v8 2399 } // namespace v8
2398 2400
2399 #endif // V8_CRANKSHAFT_S390_LITHIUM_S390_H_ 2401 #endif // V8_CRANKSHAFT_S390_LITHIUM_S390_H_
OLDNEW
« no previous file with comments | « src/crankshaft/s390/lithium-codegen-s390.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698