Index: src/interface-descriptors.h |
diff --git a/src/interface-descriptors.h b/src/interface-descriptors.h |
index 2590fd27c6a79c1fc4cf6c58524523e0db201f09..22216e7257d751da1ba602afff67ba5b5afc1f80 100644 |
--- a/src/interface-descriptors.h |
+++ b/src/interface-descriptors.h |
@@ -33,9 +33,7 @@ class PlatformInterfaceDescriptor; |
V(FastNewClosure) \ |
V(FastNewFunctionContext) \ |
V(FastNewObject) \ |
- V(FastNewRestParameter) \ |
- V(FastNewSloppyArguments) \ |
- V(FastNewStrictArguments) \ |
+ V(FastNewArguments) \ |
V(TypeConversion) \ |
V(Typeof) \ |
V(FastCloneRegExp) \ |
@@ -497,21 +495,11 @@ class FastNewObjectDescriptor : public CallInterfaceDescriptor { |
static const Register NewTargetRegister(); |
}; |
-class FastNewRestParameterDescriptor : public CallInterfaceDescriptor { |
+class FastNewArgumentsDescriptor : public CallInterfaceDescriptor { |
public: |
- DECLARE_DESCRIPTOR(FastNewRestParameterDescriptor, CallInterfaceDescriptor) |
-}; |
- |
-class FastNewSloppyArgumentsDescriptor : public CallInterfaceDescriptor { |
- public: |
- DECLARE_DESCRIPTOR(FastNewSloppyArgumentsDescriptor, |
- CallInterfaceDescriptor) |
-}; |
- |
-class FastNewStrictArgumentsDescriptor : public CallInterfaceDescriptor { |
- public: |
- DECLARE_DESCRIPTOR(FastNewStrictArgumentsDescriptor, |
- CallInterfaceDescriptor) |
+ DEFINE_PARAMETERS(kFunction) |
+ DECLARE_DESCRIPTOR(FastNewArgumentsDescriptor, CallInterfaceDescriptor) |
+ static const Register TargetRegister(); |
}; |
class TypeConversionDescriptor final : public CallInterfaceDescriptor { |