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

Unified Diff: src/interface-descriptors.h

Issue 1224793002: Loads and stores to global vars are now made via property cell shortcuts installed into parent scri… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressing comments Created 5 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
« no previous file with comments | « src/ia32/interface-descriptors-ia32.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 f206b55841443bd19a6ff7b37ec7334fd87e5b90..4d16c48283a27df91158e9b6b35f480aa09909ff 100644
--- a/src/interface-descriptors.h
+++ b/src/interface-descriptors.h
@@ -57,6 +57,8 @@ class PlatformInterfaceDescriptor;
V(ApiGetter) \
V(ArgumentsAccessRead) \
V(StoreArrayLiteralElement) \
+ V(LoadGlobalViaContext) \
+ V(StoreGlobalViaContext) \
V(MathPowTagged) \
V(MathPowInteger) \
V(ContextOnly) \
@@ -425,6 +427,29 @@ class RegExpConstructResultDescriptor : public CallInterfaceDescriptor {
};
+class LoadGlobalViaContextDescriptor : public CallInterfaceDescriptor {
+ public:
+ DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(LoadGlobalViaContextDescriptor,
+ CallInterfaceDescriptor)
+
+ static const Register DepthRegister();
+ static const Register SlotRegister();
+ static const Register NameRegister();
+};
+
+
+class StoreGlobalViaContextDescriptor : public CallInterfaceDescriptor {
+ public:
+ DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(StoreGlobalViaContextDescriptor,
+ CallInterfaceDescriptor)
+
+ static const Register DepthRegister();
+ static const Register SlotRegister();
+ static const Register NameRegister();
+ static const Register ValueRegister();
+};
+
+
class TransitionElementsKindDescriptor : public CallInterfaceDescriptor {
public:
DECLARE_DESCRIPTOR(TransitionElementsKindDescriptor, CallInterfaceDescriptor)
« no previous file with comments | « src/ia32/interface-descriptors-ia32.cc ('k') | src/interface-descriptors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698