Index: src/interface-descriptors.h |
diff --git a/src/interface-descriptors.h b/src/interface-descriptors.h |
index a234c26d0d1c48cc1cb5fea3b3835eef2efeb5a0..7bf5a40f98768619ca17a428d58b92f90fb6f85d 100644 |
--- a/src/interface-descriptors.h |
+++ b/src/interface-descriptors.h |
@@ -48,6 +48,7 @@ class PlatformInterfaceDescriptor; |
V(CallConstruct) \ |
V(CallTrampoline) \ |
V(ConstructStub) \ |
+ V(ConstructForwardVarargs) \ |
V(ConstructTrampoline) \ |
V(TransitionElementsKind) \ |
V(AllocateHeapNumber) \ |
@@ -575,11 +576,18 @@ class CallTrampolineDescriptor : public CallInterfaceDescriptor { |
class CallForwardVarargsDescriptor : public CallInterfaceDescriptor { |
public: |
- DEFINE_PARAMETERS(kTarget, kStartIndex) |
+ DEFINE_PARAMETERS(kTarget, kActualArgumentsCount, kStartIndex) |
DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(CallForwardVarargsDescriptor, |
CallInterfaceDescriptor) |
}; |
+class ConstructForwardVarargsDescriptor : public CallInterfaceDescriptor { |
+ public: |
+ DEFINE_PARAMETERS(kTarget, kNewTarget, kActualArgumentsCount, kStartIndex) |
+ DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE( |
+ ConstructForwardVarargsDescriptor, CallInterfaceDescriptor) |
+}; |
+ |
class ConstructStubDescriptor : public CallInterfaceDescriptor { |
public: |
DEFINE_PARAMETERS(kFunction, kNewTarget, kActualArgumentsCount, |