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

Side by Side Diff: src/crankshaft/arm/lithium-arm.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/code-stubs.cc ('k') | src/crankshaft/arm64/lithium-arm64.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/arm/lithium-arm.h" 5 #include "src/crankshaft/arm/lithium-arm.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/crankshaft/arm/lithium-codegen-arm.h" 9 #include "src/crankshaft/arm/lithium-codegen-arm.h"
10 #include "src/crankshaft/hydrogen-osr.h" 10 #include "src/crankshaft/hydrogen-osr.h"
(...skipping 2173 matching lines...) Expand 10 before | Expand all | Expand 10 after
2184 LOperand* context = UseFixed(instr->context(), cp); 2184 LOperand* context = UseFixed(instr->context(), cp);
2185 LOperand* obj = 2185 LOperand* obj =
2186 UseFixed(instr->object(), StoreDescriptor::ReceiverRegister()); 2186 UseFixed(instr->object(), StoreDescriptor::ReceiverRegister());
2187 LOperand* key = UseFixed(instr->key(), StoreDescriptor::NameRegister()); 2187 LOperand* key = UseFixed(instr->key(), StoreDescriptor::NameRegister());
2188 LOperand* val = UseFixed(instr->value(), StoreDescriptor::ValueRegister()); 2188 LOperand* val = UseFixed(instr->value(), StoreDescriptor::ValueRegister());
2189 2189
2190 DCHECK(instr->object()->representation().IsTagged()); 2190 DCHECK(instr->object()->representation().IsTagged());
2191 DCHECK(instr->key()->representation().IsTagged()); 2191 DCHECK(instr->key()->representation().IsTagged());
2192 DCHECK(instr->value()->representation().IsTagged()); 2192 DCHECK(instr->value()->representation().IsTagged());
2193 2193
2194 LOperand* slot = FixedTemp(VectorStoreICDescriptor::SlotRegister()); 2194 LOperand* slot = FixedTemp(StoreWithVectorDescriptor::SlotRegister());
2195 LOperand* vector = FixedTemp(VectorStoreICDescriptor::VectorRegister()); 2195 LOperand* vector = FixedTemp(StoreWithVectorDescriptor::VectorRegister());
2196 2196
2197 LStoreKeyedGeneric* result = 2197 LStoreKeyedGeneric* result =
2198 new (zone()) LStoreKeyedGeneric(context, obj, key, val, slot, vector); 2198 new (zone()) LStoreKeyedGeneric(context, obj, key, val, slot, vector);
2199 return MarkAsCall(result, instr); 2199 return MarkAsCall(result, instr);
2200 } 2200 }
2201 2201
2202 2202
2203 LInstruction* LChunkBuilder::DoTransitionElementsKind( 2203 LInstruction* LChunkBuilder::DoTransitionElementsKind(
2204 HTransitionElementsKind* instr) { 2204 HTransitionElementsKind* instr) {
2205 if (IsSimpleMapChangeTransition(instr->from_kind(), instr->to_kind())) { 2205 if (IsSimpleMapChangeTransition(instr->from_kind(), instr->to_kind())) {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
2274 2274
2275 return new(zone()) LStoreNamedField(obj, val, temp); 2275 return new(zone()) LStoreNamedField(obj, val, temp);
2276 } 2276 }
2277 2277
2278 2278
2279 LInstruction* LChunkBuilder::DoStoreNamedGeneric(HStoreNamedGeneric* instr) { 2279 LInstruction* LChunkBuilder::DoStoreNamedGeneric(HStoreNamedGeneric* instr) {
2280 LOperand* context = UseFixed(instr->context(), cp); 2280 LOperand* context = UseFixed(instr->context(), cp);
2281 LOperand* obj = 2281 LOperand* obj =
2282 UseFixed(instr->object(), StoreDescriptor::ReceiverRegister()); 2282 UseFixed(instr->object(), StoreDescriptor::ReceiverRegister());
2283 LOperand* val = UseFixed(instr->value(), StoreDescriptor::ValueRegister()); 2283 LOperand* val = UseFixed(instr->value(), StoreDescriptor::ValueRegister());
2284 LOperand* slot = FixedTemp(VectorStoreICDescriptor::SlotRegister()); 2284 LOperand* slot = FixedTemp(StoreWithVectorDescriptor::SlotRegister());
2285 LOperand* vector = FixedTemp(VectorStoreICDescriptor::VectorRegister()); 2285 LOperand* vector = FixedTemp(StoreWithVectorDescriptor::VectorRegister());
2286 2286
2287 LStoreNamedGeneric* result = 2287 LStoreNamedGeneric* result =
2288 new (zone()) LStoreNamedGeneric(context, obj, val, slot, vector); 2288 new (zone()) LStoreNamedGeneric(context, obj, val, slot, vector);
2289 return MarkAsCall(result, instr); 2289 return MarkAsCall(result, instr);
2290 } 2290 }
2291 2291
2292 2292
2293 LInstruction* LChunkBuilder::DoStringAdd(HStringAdd* instr) { 2293 LInstruction* LChunkBuilder::DoStringAdd(HStringAdd* instr) {
2294 LOperand* context = UseFixed(instr->context(), cp); 2294 LOperand* context = UseFixed(instr->context(), cp);
2295 LOperand* left = UseFixed(instr->left(), r1); 2295 LOperand* left = UseFixed(instr->left(), r1);
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
2497 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2497 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2498 LOperand* object = UseRegister(instr->object()); 2498 LOperand* object = UseRegister(instr->object());
2499 LOperand* index = UseTempRegister(instr->index()); 2499 LOperand* index = UseTempRegister(instr->index());
2500 LLoadFieldByIndex* load = new(zone()) LLoadFieldByIndex(object, index); 2500 LLoadFieldByIndex* load = new(zone()) LLoadFieldByIndex(object, index);
2501 LInstruction* result = DefineSameAsFirst(load); 2501 LInstruction* result = DefineSameAsFirst(load);
2502 return AssignPointerMap(result); 2502 return AssignPointerMap(result);
2503 } 2503 }
2504 2504
2505 } // namespace internal 2505 } // namespace internal
2506 } // namespace v8 2506 } // namespace v8
OLDNEW
« no previous file with comments | « src/code-stubs.cc ('k') | src/crankshaft/arm64/lithium-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698