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

Unified Diff: src/interface-descriptors.h

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: fix 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 side-by-side diff with in-line comments
Download patch
Index: src/interface-descriptors.h
diff --git a/src/interface-descriptors.h b/src/interface-descriptors.h
index 3f08354f8ed10060b7d6fe1dcebaa53cbfc5114c..15a9a75a7911422b48d6db7ad700e379d1833e4f 100644
--- a/src/interface-descriptors.h
+++ b/src/interface-descriptors.h
@@ -24,14 +24,13 @@ class PlatformInterfaceDescriptor;
V(OnStackWith6Args) \
V(OnStackWith7Args) \
V(Load) \
+ V(LoadWithVector) \
V(LoadGlobal) \
V(LoadGlobalWithVector) \
V(Store) \
+ V(StoreWithVector) \
V(StoreTransition) \
V(VectorStoreTransition) \
- V(VectorStoreICTrampoline) \
- V(VectorStoreIC) \
- V(LoadWithVector) \
V(VarArgFunction) \
V(FastNewClosure) \
V(FastNewFunctionContext) \
@@ -384,17 +383,15 @@ class LoadGlobalDescriptor : public CallInterfaceDescriptor {
class StoreDescriptor : public CallInterfaceDescriptor {
public:
- DECLARE_DESCRIPTOR(StoreDescriptor, CallInterfaceDescriptor)
+ DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(StoreDescriptor,
+ CallInterfaceDescriptor)
+
+ enum ParameterIndices { kReceiverIndex, kNameIndex, kValueIndex, kSlotIndex };
- enum ParameterIndices {
- kReceiverIndex,
- kNameIndex,
- kValueIndex,
- kParameterCount
- };
static const Register ReceiverRegister();
static const Register NameRegister();
static const Register ValueRegister();
+ static const Register SlotRegister();
};
@@ -440,22 +437,10 @@ class VectorStoreTransitionDescriptor : public StoreDescriptor {
static const Register VectorRegister();
};
-
-class VectorStoreICTrampolineDescriptor : public StoreDescriptor {
- public:
- DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(
- VectorStoreICTrampolineDescriptor, StoreDescriptor)
-
- enum ParameterIndices { kReceiverIndex, kNameIndex, kValueIndex, kSlotIndex };
-
- static const Register SlotRegister();
-};
-
-
-class VectorStoreICDescriptor : public VectorStoreICTrampolineDescriptor {
+class StoreWithVectorDescriptor : public StoreDescriptor {
public:
- DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(
- VectorStoreICDescriptor, VectorStoreICTrampolineDescriptor)
+ DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(StoreWithVectorDescriptor,
+ StoreDescriptor)
enum ParameterIndices {
kReceiverIndex,

Powered by Google App Engine
This is Rietveld 408576698