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

Side by Side Diff: src/crankshaft/s390/lithium-s390.cc

Issue 2147043002: Cleanup interface descriptors to reflect that vectors are part of stores. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@rename-store-ic
Patch Set: Rebasing Created 4 years, 5 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-ppc.cc ('k') | src/crankshaft/x64/lithium-x64.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 #include "src/crankshaft/s390/lithium-s390.h" 5 #include "src/crankshaft/s390/lithium-s390.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/crankshaft/hydrogen-osr.h" 9 #include "src/crankshaft/hydrogen-osr.h"
10 #include "src/crankshaft/lithium-inl.h" 10 #include "src/crankshaft/lithium-inl.h"
(...skipping 1961 matching lines...) Expand 10 before | Expand all | Expand 10 after
1972 LOperand* context = UseFixed(instr->context(), cp); 1972 LOperand* context = UseFixed(instr->context(), cp);
1973 LOperand* obj = 1973 LOperand* obj =
1974 UseFixed(instr->object(), StoreDescriptor::ReceiverRegister()); 1974 UseFixed(instr->object(), StoreDescriptor::ReceiverRegister());
1975 LOperand* key = UseFixed(instr->key(), StoreDescriptor::NameRegister()); 1975 LOperand* key = UseFixed(instr->key(), StoreDescriptor::NameRegister());
1976 LOperand* val = UseFixed(instr->value(), StoreDescriptor::ValueRegister()); 1976 LOperand* val = UseFixed(instr->value(), StoreDescriptor::ValueRegister());
1977 1977
1978 DCHECK(instr->object()->representation().IsTagged()); 1978 DCHECK(instr->object()->representation().IsTagged());
1979 DCHECK(instr->key()->representation().IsTagged()); 1979 DCHECK(instr->key()->representation().IsTagged());
1980 DCHECK(instr->value()->representation().IsTagged()); 1980 DCHECK(instr->value()->representation().IsTagged());
1981 1981
1982 LOperand* slot = FixedTemp(VectorStoreICDescriptor::SlotRegister()); 1982 LOperand* slot = FixedTemp(StoreWithVectorDescriptor::SlotRegister());
1983 LOperand* vector = FixedTemp(VectorStoreICDescriptor::VectorRegister()); 1983 LOperand* vector = FixedTemp(StoreWithVectorDescriptor::VectorRegister());
1984 1984
1985 LStoreKeyedGeneric* result = 1985 LStoreKeyedGeneric* result =
1986 new (zone()) LStoreKeyedGeneric(context, obj, key, val, slot, vector); 1986 new (zone()) LStoreKeyedGeneric(context, obj, key, val, slot, vector);
1987 return MarkAsCall(result, instr); 1987 return MarkAsCall(result, instr);
1988 } 1988 }
1989 1989
1990 LInstruction* LChunkBuilder::DoTransitionElementsKind( 1990 LInstruction* LChunkBuilder::DoTransitionElementsKind(
1991 HTransitionElementsKind* instr) { 1991 HTransitionElementsKind* instr) {
1992 if (IsSimpleMapChangeTransition(instr->from_kind(), instr->to_kind())) { 1992 if (IsSimpleMapChangeTransition(instr->from_kind(), instr->to_kind())) {
1993 LOperand* object = UseRegister(instr->object()); 1993 LOperand* object = UseRegister(instr->object());
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
2056 LOperand* temp = needs_write_barrier_for_map ? TempRegister() : NULL; 2056 LOperand* temp = needs_write_barrier_for_map ? TempRegister() : NULL;
2057 2057
2058 return new (zone()) LStoreNamedField(obj, val, temp); 2058 return new (zone()) LStoreNamedField(obj, val, temp);
2059 } 2059 }
2060 2060
2061 LInstruction* LChunkBuilder::DoStoreNamedGeneric(HStoreNamedGeneric* instr) { 2061 LInstruction* LChunkBuilder::DoStoreNamedGeneric(HStoreNamedGeneric* instr) {
2062 LOperand* context = UseFixed(instr->context(), cp); 2062 LOperand* context = UseFixed(instr->context(), cp);
2063 LOperand* obj = 2063 LOperand* obj =
2064 UseFixed(instr->object(), StoreDescriptor::ReceiverRegister()); 2064 UseFixed(instr->object(), StoreDescriptor::ReceiverRegister());
2065 LOperand* val = UseFixed(instr->value(), StoreDescriptor::ValueRegister()); 2065 LOperand* val = UseFixed(instr->value(), StoreDescriptor::ValueRegister());
2066 LOperand* slot = FixedTemp(VectorStoreICDescriptor::SlotRegister()); 2066 LOperand* slot = FixedTemp(StoreWithVectorDescriptor::SlotRegister());
2067 LOperand* vector = FixedTemp(VectorStoreICDescriptor::VectorRegister()); 2067 LOperand* vector = FixedTemp(StoreWithVectorDescriptor::VectorRegister());
2068 LStoreNamedGeneric* result = 2068 LStoreNamedGeneric* result =
2069 new (zone()) LStoreNamedGeneric(context, obj, val, slot, vector); 2069 new (zone()) LStoreNamedGeneric(context, obj, val, slot, vector);
2070 return MarkAsCall(result, instr); 2070 return MarkAsCall(result, instr);
2071 } 2071 }
2072 2072
2073 LInstruction* LChunkBuilder::DoStringAdd(HStringAdd* instr) { 2073 LInstruction* LChunkBuilder::DoStringAdd(HStringAdd* instr) {
2074 LOperand* context = UseFixed(instr->context(), cp); 2074 LOperand* context = UseFixed(instr->context(), cp);
2075 LOperand* left = UseFixed(instr->left(), r3); 2075 LOperand* left = UseFixed(instr->left(), r3);
2076 LOperand* right = UseFixed(instr->right(), r2); 2076 LOperand* right = UseFixed(instr->right(), r2);
2077 return MarkAsCall( 2077 return MarkAsCall(
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
2258 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2258 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2259 LOperand* object = UseRegister(instr->object()); 2259 LOperand* object = UseRegister(instr->object());
2260 LOperand* index = UseTempRegister(instr->index()); 2260 LOperand* index = UseTempRegister(instr->index());
2261 LLoadFieldByIndex* load = new (zone()) LLoadFieldByIndex(object, index); 2261 LLoadFieldByIndex* load = new (zone()) LLoadFieldByIndex(object, index);
2262 LInstruction* result = DefineSameAsFirst(load); 2262 LInstruction* result = DefineSameAsFirst(load);
2263 return AssignPointerMap(result); 2263 return AssignPointerMap(result);
2264 } 2264 }
2265 2265
2266 } // namespace internal 2266 } // namespace internal
2267 } // namespace v8 2267 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/ppc/lithium-ppc.cc ('k') | src/crankshaft/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698