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

Side by Side Diff: src/crankshaft/x87/lithium-x87.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/x64/lithium-x64.cc ('k') | src/full-codegen/full-codegen.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/x87/lithium-x87.h" 5 #include "src/crankshaft/x87/lithium-x87.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #if V8_TARGET_ARCH_X87 9 #if V8_TARGET_ARCH_X87
10 10
(...skipping 2206 matching lines...) Expand 10 before | Expand all | Expand 10 after
2217 LOperand* context = UseFixed(instr->context(), esi); 2217 LOperand* context = UseFixed(instr->context(), esi);
2218 LOperand* object = 2218 LOperand* object =
2219 UseFixed(instr->object(), StoreDescriptor::ReceiverRegister()); 2219 UseFixed(instr->object(), StoreDescriptor::ReceiverRegister());
2220 LOperand* key = UseFixed(instr->key(), StoreDescriptor::NameRegister()); 2220 LOperand* key = UseFixed(instr->key(), StoreDescriptor::NameRegister());
2221 LOperand* value = UseFixed(instr->value(), StoreDescriptor::ValueRegister()); 2221 LOperand* value = UseFixed(instr->value(), StoreDescriptor::ValueRegister());
2222 2222
2223 DCHECK(instr->object()->representation().IsTagged()); 2223 DCHECK(instr->object()->representation().IsTagged());
2224 DCHECK(instr->key()->representation().IsTagged()); 2224 DCHECK(instr->key()->representation().IsTagged());
2225 DCHECK(instr->value()->representation().IsTagged()); 2225 DCHECK(instr->value()->representation().IsTagged());
2226 2226
2227 LOperand* slot = FixedTemp(VectorStoreICDescriptor::SlotRegister()); 2227 LOperand* slot = FixedTemp(StoreWithVectorDescriptor::SlotRegister());
2228 LOperand* vector = FixedTemp(VectorStoreICDescriptor::VectorRegister()); 2228 LOperand* vector = FixedTemp(StoreWithVectorDescriptor::VectorRegister());
2229 2229
2230 LStoreKeyedGeneric* result = new (zone()) 2230 LStoreKeyedGeneric* result = new (zone())
2231 LStoreKeyedGeneric(context, object, key, value, slot, vector); 2231 LStoreKeyedGeneric(context, object, key, value, slot, vector);
2232 return MarkAsCall(result, instr); 2232 return MarkAsCall(result, instr);
2233 } 2233 }
2234 2234
2235 2235
2236 LInstruction* LChunkBuilder::DoTransitionElementsKind( 2236 LInstruction* LChunkBuilder::DoTransitionElementsKind(
2237 HTransitionElementsKind* instr) { 2237 HTransitionElementsKind* instr) {
2238 if (IsSimpleMapChangeTransition(instr->from_kind(), instr->to_kind())) { 2238 if (IsSimpleMapChangeTransition(instr->from_kind(), instr->to_kind())) {
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
2332 2332
2333 return new(zone()) LStoreNamedField(obj, val, temp, temp_map); 2333 return new(zone()) LStoreNamedField(obj, val, temp, temp_map);
2334 } 2334 }
2335 2335
2336 2336
2337 LInstruction* LChunkBuilder::DoStoreNamedGeneric(HStoreNamedGeneric* instr) { 2337 LInstruction* LChunkBuilder::DoStoreNamedGeneric(HStoreNamedGeneric* instr) {
2338 LOperand* context = UseFixed(instr->context(), esi); 2338 LOperand* context = UseFixed(instr->context(), esi);
2339 LOperand* object = 2339 LOperand* object =
2340 UseFixed(instr->object(), StoreDescriptor::ReceiverRegister()); 2340 UseFixed(instr->object(), StoreDescriptor::ReceiverRegister());
2341 LOperand* value = UseFixed(instr->value(), StoreDescriptor::ValueRegister()); 2341 LOperand* value = UseFixed(instr->value(), StoreDescriptor::ValueRegister());
2342 LOperand* slot = FixedTemp(VectorStoreICDescriptor::SlotRegister()); 2342 LOperand* slot = FixedTemp(StoreWithVectorDescriptor::SlotRegister());
2343 LOperand* vector = FixedTemp(VectorStoreICDescriptor::VectorRegister()); 2343 LOperand* vector = FixedTemp(StoreWithVectorDescriptor::VectorRegister());
2344 2344
2345 LStoreNamedGeneric* result = 2345 LStoreNamedGeneric* result =
2346 new (zone()) LStoreNamedGeneric(context, object, value, slot, vector); 2346 new (zone()) LStoreNamedGeneric(context, object, value, slot, vector);
2347 return MarkAsCall(result, instr); 2347 return MarkAsCall(result, instr);
2348 } 2348 }
2349 2349
2350 2350
2351 LInstruction* LChunkBuilder::DoStringAdd(HStringAdd* instr) { 2351 LInstruction* LChunkBuilder::DoStringAdd(HStringAdd* instr) {
2352 LOperand* context = UseFixed(instr->context(), esi); 2352 LOperand* context = UseFixed(instr->context(), esi);
2353 LOperand* left = UseFixed(instr->left(), edx); 2353 LOperand* left = UseFixed(instr->left(), edx);
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
2565 LOperand* index = UseTempRegister(instr->index()); 2565 LOperand* index = UseTempRegister(instr->index());
2566 LLoadFieldByIndex* load = new(zone()) LLoadFieldByIndex(object, index); 2566 LLoadFieldByIndex* load = new(zone()) LLoadFieldByIndex(object, index);
2567 LInstruction* result = DefineSameAsFirst(load); 2567 LInstruction* result = DefineSameAsFirst(load);
2568 return AssignPointerMap(result); 2568 return AssignPointerMap(result);
2569 } 2569 }
2570 2570
2571 } // namespace internal 2571 } // namespace internal
2572 } // namespace v8 2572 } // namespace v8
2573 2573
2574 #endif // V8_TARGET_ARCH_X87 2574 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/crankshaft/x64/lithium-x64.cc ('k') | src/full-codegen/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698