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

Unified Diff: src/interface-descriptors.h

Issue 1144063002: Cleanup interface descriptors to reflect that vectors are part of loads. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixes for test failures. Created 5 years, 7 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
« no previous file with comments | « src/ic/x64/stub-cache-x64.cc ('k') | src/interface-descriptors.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interface-descriptors.h
diff --git a/src/interface-descriptors.h b/src/interface-descriptors.h
index 63e814a0c4a2131ac16b2a9424a90f37c329402d..62158fe025ca746d774479ff44804e2203a5a1b3 100644
--- a/src/interface-descriptors.h
+++ b/src/interface-descriptors.h
@@ -19,8 +19,7 @@ class PlatformInterfaceDescriptor;
V(StoreTransition) \
V(ElementTransitionAndStore) \
V(Instanceof) \
- V(VectorLoadICTrampoline) \
- V(VectorLoadIC) \
+ V(LoadWithVector) \
V(FastNewClosure) \
V(FastNewContext) \
V(ToNumber) \
@@ -200,9 +199,10 @@ class LoadDescriptor : public CallInterfaceDescriptor {
public:
DECLARE_DESCRIPTOR(LoadDescriptor, CallInterfaceDescriptor)
- enum ParameterIndices { kReceiverIndex, kNameIndex };
+ enum ParameterIndices { kReceiverIndex, kNameIndex, kSlotIndex };
static const Register ReceiverRegister();
static const Register NameRegister();
+ static const Register SlotRegister();
};
@@ -256,19 +256,9 @@ class InstanceofDescriptor : public CallInterfaceDescriptor {
};
-class VectorLoadICTrampolineDescriptor : public LoadDescriptor {
- public:
- DECLARE_DESCRIPTOR(VectorLoadICTrampolineDescriptor, LoadDescriptor)
-
- enum ParameterIndices { kReceiverIndex, kNameIndex, kSlotIndex };
-
- static const Register SlotRegister();
-};
-
-
-class VectorLoadICDescriptor : public VectorLoadICTrampolineDescriptor {
+class LoadWithVectorDescriptor : public LoadDescriptor {
public:
- DECLARE_DESCRIPTOR(VectorLoadICDescriptor, VectorLoadICTrampolineDescriptor)
+ DECLARE_DESCRIPTOR(LoadWithVectorDescriptor, LoadDescriptor)
enum ParameterIndices {
kReceiverIndex,
« no previous file with comments | « src/ic/x64/stub-cache-x64.cc ('k') | src/interface-descriptors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698