Index: src/interface-descriptors.h |
diff --git a/src/interface-descriptors.h b/src/interface-descriptors.h |
index 4411ae169a46f8367230b8344a65580f49d0ea76..8a43ec13a66e47aa14aa0ce6535d0bbc8895979c 100644 |
--- a/src/interface-descriptors.h |
+++ b/src/interface-descriptors.h |
@@ -28,6 +28,7 @@ class PlatformInterfaceDescriptor; |
V(ToNumber) \ |
V(ToLength) \ |
V(ToString) \ |
+ V(ToName) \ |
V(ToObject) \ |
V(NumberToString) \ |
V(Typeof) \ |
@@ -405,6 +406,16 @@ class ToStringDescriptor : public CallInterfaceDescriptor { |
}; |
+class ToNameDescriptor : public CallInterfaceDescriptor { |
+ public: |
+ enum ParameterIndices { kReceiverIndex }; |
+ |
+ DECLARE_DESCRIPTOR(ToNameDescriptor, CallInterfaceDescriptor) |
+ |
+ static const Register ReceiverRegister(); |
+}; |
+ |
+ |
class ToObjectDescriptor : public CallInterfaceDescriptor { |
public: |
enum ParameterIndices { kReceiverIndex }; |