Index: src/interface-descriptors.h |
diff --git a/src/interface-descriptors.h b/src/interface-descriptors.h |
index 5d02e84ebd9043d17185e8e18d094c2636bdb516..4ececd7b21b268253fd0a73d4534a2da35ef7085 100644 |
--- a/src/interface-descriptors.h |
+++ b/src/interface-descriptors.h |
@@ -53,7 +53,8 @@ class PlatformInterfaceDescriptor; |
V(StoreArrayLiteralElement) \ |
V(MathPowTagged) \ |
V(MathPowInteger) \ |
- V(ContextOnly) |
+ V(ContextOnly) \ |
+ V(GrowArrayElements) |
class CallInterfaceDescriptorData { |
@@ -488,6 +489,17 @@ class ContextOnlyDescriptor : public CallInterfaceDescriptor { |
DECLARE_DESCRIPTOR(ContextOnlyDescriptor, CallInterfaceDescriptor) |
}; |
+ |
+class GrowArrayElementsDescriptor : public CallInterfaceDescriptor { |
+ public: |
+ DECLARE_DESCRIPTOR(GrowArrayElementsDescriptor, CallInterfaceDescriptor) |
+ |
+ enum RegisterInfo { kObjectIndex, kKeyIndex, kCapacityIndex }; |
+ static const Register ObjectRegister(); |
+ static const Register KeyRegister(); |
+ static const Register CapacityRegister(); |
+}; |
+ |
#undef DECLARE_DESCRIPTOR |