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

Side by Side Diff: src/crankshaft/mips64/lithium-mips64.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/mips/lithium-mips.cc ('k') | src/crankshaft/ppc/lithium-ppc.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 #include "src/crankshaft/mips64/lithium-mips64.h" 5 #include "src/crankshaft/mips64/lithium-mips64.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #if V8_TARGET_ARCH_MIPS64 9 #if V8_TARGET_ARCH_MIPS64
10 10
(...skipping 2125 matching lines...) Expand 10 before | Expand all | Expand 10 after
2136 LOperand* context = UseFixed(instr->context(), cp); 2136 LOperand* context = UseFixed(instr->context(), cp);
2137 LOperand* obj = 2137 LOperand* obj =
2138 UseFixed(instr->object(), StoreDescriptor::ReceiverRegister()); 2138 UseFixed(instr->object(), StoreDescriptor::ReceiverRegister());
2139 LOperand* key = UseFixed(instr->key(), StoreDescriptor::NameRegister()); 2139 LOperand* key = UseFixed(instr->key(), StoreDescriptor::NameRegister());
2140 LOperand* val = UseFixed(instr->value(), StoreDescriptor::ValueRegister()); 2140 LOperand* val = UseFixed(instr->value(), StoreDescriptor::ValueRegister());
2141 2141
2142 DCHECK(instr->object()->representation().IsTagged()); 2142 DCHECK(instr->object()->representation().IsTagged());
2143 DCHECK(instr->key()->representation().IsTagged()); 2143 DCHECK(instr->key()->representation().IsTagged());
2144 DCHECK(instr->value()->representation().IsTagged()); 2144 DCHECK(instr->value()->representation().IsTagged());
2145 2145
2146 LOperand* slot = FixedTemp(VectorStoreICDescriptor::SlotRegister()); 2146 LOperand* slot = FixedTemp(StoreWithVectorDescriptor::SlotRegister());
2147 LOperand* vector = FixedTemp(VectorStoreICDescriptor::VectorRegister()); 2147 LOperand* vector = FixedTemp(StoreWithVectorDescriptor::VectorRegister());
2148 2148
2149 LStoreKeyedGeneric* result = 2149 LStoreKeyedGeneric* result =
2150 new (zone()) LStoreKeyedGeneric(context, obj, key, val, slot, vector); 2150 new (zone()) LStoreKeyedGeneric(context, obj, key, val, slot, vector);
2151 return MarkAsCall(result, instr); 2151 return MarkAsCall(result, instr);
2152 } 2152 }
2153 2153
2154 2154
2155 LInstruction* LChunkBuilder::DoTransitionElementsKind( 2155 LInstruction* LChunkBuilder::DoTransitionElementsKind(
2156 HTransitionElementsKind* instr) { 2156 HTransitionElementsKind* instr) {
2157 if (IsSimpleMapChangeTransition(instr->from_kind(), instr->to_kind())) { 2157 if (IsSimpleMapChangeTransition(instr->from_kind(), instr->to_kind())) {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
2226 2226
2227 return new(zone()) LStoreNamedField(obj, val, temp); 2227 return new(zone()) LStoreNamedField(obj, val, temp);
2228 } 2228 }
2229 2229
2230 2230
2231 LInstruction* LChunkBuilder::DoStoreNamedGeneric(HStoreNamedGeneric* instr) { 2231 LInstruction* LChunkBuilder::DoStoreNamedGeneric(HStoreNamedGeneric* instr) {
2232 LOperand* context = UseFixed(instr->context(), cp); 2232 LOperand* context = UseFixed(instr->context(), cp);
2233 LOperand* obj = 2233 LOperand* obj =
2234 UseFixed(instr->object(), StoreDescriptor::ReceiverRegister()); 2234 UseFixed(instr->object(), StoreDescriptor::ReceiverRegister());
2235 LOperand* val = UseFixed(instr->value(), StoreDescriptor::ValueRegister()); 2235 LOperand* val = UseFixed(instr->value(), StoreDescriptor::ValueRegister());
2236 LOperand* slot = FixedTemp(VectorStoreICDescriptor::SlotRegister()); 2236 LOperand* slot = FixedTemp(StoreWithVectorDescriptor::SlotRegister());
2237 LOperand* vector = FixedTemp(VectorStoreICDescriptor::VectorRegister()); 2237 LOperand* vector = FixedTemp(StoreWithVectorDescriptor::VectorRegister());
2238 2238
2239 LStoreNamedGeneric* result = 2239 LStoreNamedGeneric* result =
2240 new (zone()) LStoreNamedGeneric(context, obj, val, slot, vector); 2240 new (zone()) LStoreNamedGeneric(context, obj, val, slot, vector);
2241 return MarkAsCall(result, instr); 2241 return MarkAsCall(result, instr);
2242 } 2242 }
2243 2243
2244 2244
2245 LInstruction* LChunkBuilder::DoStringAdd(HStringAdd* instr) { 2245 LInstruction* LChunkBuilder::DoStringAdd(HStringAdd* instr) {
2246 LOperand* context = UseFixed(instr->context(), cp); 2246 LOperand* context = UseFixed(instr->context(), cp);
2247 LOperand* left = UseFixed(instr->left(), a1); 2247 LOperand* left = UseFixed(instr->left(), a1);
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
2451 LOperand* index = UseTempRegister(instr->index()); 2451 LOperand* index = UseTempRegister(instr->index());
2452 LLoadFieldByIndex* load = new(zone()) LLoadFieldByIndex(object, index); 2452 LLoadFieldByIndex* load = new(zone()) LLoadFieldByIndex(object, index);
2453 LInstruction* result = DefineSameAsFirst(load); 2453 LInstruction* result = DefineSameAsFirst(load);
2454 return AssignPointerMap(result); 2454 return AssignPointerMap(result);
2455 } 2455 }
2456 2456
2457 } // namespace internal 2457 } // namespace internal
2458 } // namespace v8 2458 } // namespace v8
2459 2459
2460 #endif // V8_TARGET_ARCH_MIPS64 2460 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/crankshaft/mips/lithium-mips.cc ('k') | src/crankshaft/ppc/lithium-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698