Index: src/interface-descriptors.h |
diff --git a/src/interface-descriptors.h b/src/interface-descriptors.h |
index bab38793165df7e239625837b186d744ff2a682e..f7afef25ed1de99c1eff19828ff83cfb2b962ecd 100644 |
--- a/src/interface-descriptors.h |
+++ b/src/interface-descriptors.h |
@@ -58,8 +58,7 @@ class PlatformInterfaceDescriptor; |
V(AllocateBool8x16) \ |
V(ArrayNoArgumentConstructor) \ |
V(ArraySingleArgumentConstructor) \ |
- V(ArrayConstructor) \ |
- V(InternalArrayConstructor) \ |
+ V(ArrayNArgumentsConstructor) \ |
V(Compare) \ |
V(BinaryOp) \ |
V(BinaryOpWithAllocationSite) \ |
@@ -604,24 +603,23 @@ class ArraySingleArgumentConstructorDescriptor |
enum ParameterIndices { |
kFunctionIndex, |
kAllocationSiteIndex, |
- kArgumentsCountIndex, |
+ kArgumentCountIndex, |
kFunctionParameterIndex, |
kArraySizeSmiParameterIndex, |
kContextIndex |
}; |
}; |
-class ArrayConstructorDescriptor : public CallInterfaceDescriptor { |
- public: |
- DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(ArrayConstructorDescriptor, |
- CallInterfaceDescriptor) |
-}; |
- |
- |
-class InternalArrayConstructorDescriptor : public CallInterfaceDescriptor { |
+class ArrayNArgumentsConstructorDescriptor : public CallInterfaceDescriptor { |
public: |
DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE( |
- InternalArrayConstructorDescriptor, CallInterfaceDescriptor) |
+ ArrayNArgumentsConstructorDescriptor, CallInterfaceDescriptor) |
+ enum ParameterIndices { |
+ kFunctionIndex, |
+ kAllocationSiteIndex, |
+ kArgumentCountIndex, |
+ kContextIndex |
+ }; |
}; |