Chromium Code Reviews

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: cleanup Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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)

Powered by Google App Engine