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

Unified Diff: src/interface-descriptors.h

Issue 1912633002: [ic] Split LoadIC into LoadGlobalIC and LoadIC. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebasing Created 4 years, 6 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 f7afef25ed1de99c1eff19828ff83cfb2b962ecd..7ac27ad88b5e51a2660cc2f64386e7023236d920 100644
--- a/src/interface-descriptors.h
+++ b/src/interface-descriptors.h
@@ -16,6 +16,7 @@ class PlatformInterfaceDescriptor;
#define INTERFACE_DESCRIPTOR_LIST(V) \
V(Void) \
V(Load) \
+ V(LoadGlobal) \
V(Store) \
V(StoreTransition) \
V(VectorStoreTransition) \
@@ -290,6 +291,13 @@ class LoadDescriptor : public CallInterfaceDescriptor {
static const Register SlotRegister();
};
+class LoadGlobalDescriptor : public CallInterfaceDescriptor {
+ public:
+ DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(LoadGlobalDescriptor,
+ CallInterfaceDescriptor)
+
+ enum ParameterIndices { kNameIndex, kSlotIndex, kVectorIndex };
+};
class StoreDescriptor : public CallInterfaceDescriptor {
public:
« 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