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

Side by Side Diff: src/ic/access-compiler.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/ia32/interface-descriptors-ia32.cc ('k') | src/ic/arm/handler-compiler-arm.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/ic/access-compiler.h" 5 #include "src/ic/access-compiler.h"
6 6
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 DCHECK(kind == Code::STORE_IC || kind == Code::KEYED_STORE_IC); 50 DCHECK(kind == Code::STORE_IC || kind == Code::KEYED_STORE_IC);
51 return store_calling_convention(); 51 return store_calling_convention();
52 } 52 }
53 53
54 54
55 Register PropertyAccessCompiler::slot() const { 55 Register PropertyAccessCompiler::slot() const {
56 if (kind() == Code::LOAD_IC || kind() == Code::KEYED_LOAD_IC) { 56 if (kind() == Code::LOAD_IC || kind() == Code::KEYED_LOAD_IC) {
57 return LoadDescriptor::SlotRegister(); 57 return LoadDescriptor::SlotRegister();
58 } 58 }
59 DCHECK(kind() == Code::STORE_IC || kind() == Code::KEYED_STORE_IC); 59 DCHECK(kind() == Code::STORE_IC || kind() == Code::KEYED_STORE_IC);
60 return VectorStoreICDescriptor::SlotRegister(); 60 return StoreWithVectorDescriptor::SlotRegister();
61 } 61 }
62 62
63 63
64 Register PropertyAccessCompiler::vector() const { 64 Register PropertyAccessCompiler::vector() const {
65 if (kind() == Code::LOAD_IC || kind() == Code::KEYED_LOAD_IC) { 65 if (kind() == Code::LOAD_IC || kind() == Code::KEYED_LOAD_IC) {
66 return LoadWithVectorDescriptor::VectorRegister(); 66 return LoadWithVectorDescriptor::VectorRegister();
67 } 67 }
68 DCHECK(kind() == Code::STORE_IC || kind() == Code::KEYED_STORE_IC); 68 DCHECK(kind() == Code::STORE_IC || kind() == Code::KEYED_STORE_IC);
69 return VectorStoreICDescriptor::VectorRegister(); 69 return StoreWithVectorDescriptor::VectorRegister();
70 } 70 }
71 } // namespace internal 71 } // namespace internal
72 } // namespace v8 72 } // namespace v8
OLDNEW
« no previous file with comments | « src/ia32/interface-descriptors-ia32.cc ('k') | src/ic/arm/handler-compiler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698