Index: src/interface-descriptors.h |
diff --git a/src/interface-descriptors.h b/src/interface-descriptors.h |
index ebd54566bfc1a4b175b0d67851aae0fbca6e3ce9..f4e0d392ae8f0201d99969d14d760c9d474f7c63 100644 |
--- a/src/interface-descriptors.h |
+++ b/src/interface-descriptors.h |
@@ -29,12 +29,7 @@ class PlatformInterfaceDescriptor; |
V(FastNewRestParameter) \ |
V(FastNewSloppyArguments) \ |
V(FastNewStrictArguments) \ |
- V(ToNumber) \ |
- V(ToLength) \ |
- V(ToString) \ |
- V(ToName) \ |
- V(ToObject) \ |
- V(NumberToString) \ |
+ V(TypeConversion) \ |
V(Typeof) \ |
V(FastCloneRegExp) \ |
V(FastCloneShallowArray) \ |
@@ -58,7 +53,6 @@ class PlatformInterfaceDescriptor; |
V(InternalArrayConstructorConstantArgCount) \ |
V(InternalArrayConstructor) \ |
V(Compare) \ |
- V(ToBoolean) \ |
V(BinaryOp) \ |
V(BinaryOpWithAllocationSite) \ |
V(StringAdd) \ |
@@ -416,56 +410,13 @@ class FastNewStrictArgumentsDescriptor : public CallInterfaceDescriptor { |
CallInterfaceDescriptor) |
}; |
- |
-class ToNumberDescriptor : public CallInterfaceDescriptor { |
- public: |
- DECLARE_DESCRIPTOR(ToNumberDescriptor, CallInterfaceDescriptor) |
-}; |
- |
- |
-class ToLengthDescriptor : public CallInterfaceDescriptor { |
- public: |
- enum ParameterIndices { kReceiverIndex }; |
- |
- DECLARE_DESCRIPTOR(ToLengthDescriptor, CallInterfaceDescriptor) |
- |
- static const Register ReceiverRegister(); |
-}; |
- |
- |
-class ToStringDescriptor : public CallInterfaceDescriptor { |
+class TypeConversionDescriptor final : public CallInterfaceDescriptor { |
public: |
- enum ParameterIndices { kReceiverIndex }; |
+ enum ParameterIndices { kArgumentIndex }; |
- DECLARE_DESCRIPTOR(ToStringDescriptor, CallInterfaceDescriptor) |
+ DECLARE_DESCRIPTOR(TypeConversionDescriptor, CallInterfaceDescriptor) |
- static const Register ReceiverRegister(); |
-}; |
- |
- |
-class ToNameDescriptor : public CallInterfaceDescriptor { |
- public: |
- enum ParameterIndices { kReceiverIndex }; |
- |
- DECLARE_DESCRIPTOR(ToNameDescriptor, CallInterfaceDescriptor) |
- |
- static const Register ReceiverRegister(); |
-}; |
- |
- |
-class ToObjectDescriptor : public CallInterfaceDescriptor { |
- public: |
- enum ParameterIndices { kReceiverIndex }; |
- |
- DECLARE_DESCRIPTOR(ToObjectDescriptor, CallInterfaceDescriptor) |
- |
- static const Register ReceiverRegister(); |
-}; |
- |
- |
-class NumberToStringDescriptor : public CallInterfaceDescriptor { |
- public: |
- DECLARE_DESCRIPTOR(NumberToStringDescriptor, CallInterfaceDescriptor) |
+ static const Register ArgumentRegister(); |
}; |
@@ -650,12 +601,6 @@ class CompareDescriptor : public CallInterfaceDescriptor { |
}; |
-class ToBooleanDescriptor : public CallInterfaceDescriptor { |
- public: |
- DECLARE_DESCRIPTOR(ToBooleanDescriptor, CallInterfaceDescriptor) |
-}; |
- |
- |
class BinaryOpDescriptor : public CallInterfaceDescriptor { |
public: |
DECLARE_DESCRIPTOR(BinaryOpDescriptor, CallInterfaceDescriptor) |