Index: src/interface-descriptors.h |
diff --git a/src/interface-descriptors.h b/src/interface-descriptors.h |
index 23153fc92515d7f5b63b2e41c0a02e30d6cc342e..886491a41e8e396bf1c896cb6eaad5a13e3a308f 100644 |
--- a/src/interface-descriptors.h |
+++ b/src/interface-descriptors.h |
@@ -44,8 +44,8 @@ class PlatformInterfaceDescriptor; |
V(CreateAllocationSite) \ |
V(CreateWeakCell) \ |
V(CallFunction) \ |
- V(CallFunctionWithFeedback) \ |
- V(CallFunctionWithFeedbackAndVector) \ |
+ V(CallIC) \ |
+ V(CallICTrampoline) \ |
V(CallForwardVarargs) \ |
V(CallConstruct) \ |
V(CallTrampoline) \ |
@@ -66,6 +66,7 @@ class PlatformInterfaceDescriptor; |
V(AllocateUint8x16) \ |
V(AllocateBool8x16) \ |
V(Builtin) \ |
+ V(ArrayConstructor) \ |
V(ArrayNoArgumentConstructor) \ |
V(ArraySingleArgumentConstructor) \ |
V(ArrayNArgumentsConstructor) \ |
@@ -592,24 +593,20 @@ class CallFunctionDescriptor : public CallInterfaceDescriptor { |
DECLARE_DESCRIPTOR(CallFunctionDescriptor, CallInterfaceDescriptor) |
}; |
- |
-class CallFunctionWithFeedbackDescriptor : public CallInterfaceDescriptor { |
+class CallICDescriptor : public CallInterfaceDescriptor { |
public: |
- DEFINE_PARAMETERS(kFunction, kActualArgumentsCount, kSlot) |
- DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE( |
- CallFunctionWithFeedbackDescriptor, CallInterfaceDescriptor) |
+ DEFINE_PARAMETERS(kTarget, kActualArgumentsCount, kSlot, kVector) |
+ DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(CallICDescriptor, |
+ CallInterfaceDescriptor) |
}; |
- |
-class CallFunctionWithFeedbackAndVectorDescriptor |
- : public CallInterfaceDescriptor { |
+class CallICTrampolineDescriptor : public CallInterfaceDescriptor { |
public: |
- DEFINE_PARAMETERS(kFunction, kActualArgumentsCount, kSlot, kVector) |
- DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE( |
- CallFunctionWithFeedbackAndVectorDescriptor, CallInterfaceDescriptor) |
+ DEFINE_PARAMETERS(kTarget, kActualArgumentsCount, kSlot) |
+ DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(CallICTrampolineDescriptor, |
+ CallInterfaceDescriptor) |
}; |
- |
class CallConstructDescriptor : public CallInterfaceDescriptor { |
public: |
DECLARE_DESCRIPTOR(CallConstructDescriptor, CallInterfaceDescriptor) |
@@ -660,6 +657,13 @@ class BuiltinDescriptor : public CallInterfaceDescriptor { |
static const Register TargetRegister(); |
}; |
+class ArrayConstructorDescriptor : public CallInterfaceDescriptor { |
+ public: |
+ DEFINE_PARAMETERS(kTarget, kNewTarget, kActualArgumentsCount, kAllocationSite) |
+ DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(ArrayConstructorDescriptor, |
+ CallInterfaceDescriptor) |
+}; |
+ |
class ArrayNoArgumentConstructorDescriptor : public CallInterfaceDescriptor { |
public: |
DEFINE_PARAMETERS(kFunction, kAllocationSite, kActualArgumentsCount, |