| Index: src/interface-descriptors.h
|
| diff --git a/src/interface-descriptors.h b/src/interface-descriptors.h
|
| index 1d1b48af93a0b4ab780f021beb69481897af625c..34951d240ce440f6ffa61def0f035274d385f909 100644
|
| --- a/src/interface-descriptors.h
|
| +++ b/src/interface-descriptors.h
|
| @@ -77,6 +77,7 @@ class PlatformInterfaceDescriptor;
|
| V(StringCharAt) \
|
| V(StringCharCodeAt) \
|
| V(StringCompare) \
|
| + V(StringIndexOf) \
|
| V(SubString) \
|
| V(Keyed) \
|
| V(Named) \
|
| @@ -745,6 +746,13 @@ class SubStringDescriptor : public CallInterfaceDescriptor {
|
| CallInterfaceDescriptor)
|
| };
|
|
|
| +class StringIndexOfDescriptor final : public CallInterfaceDescriptor {
|
| + public:
|
| + DEFINE_PARAMETERS(kReceiver, kSearchString, kPosition)
|
| + DECLARE_DEFAULT_DESCRIPTOR(StringIndexOfDescriptor, CallInterfaceDescriptor,
|
| + kParameterCount)
|
| +};
|
| +
|
| // TODO(ishell): not used, remove.
|
| class KeyedDescriptor : public CallInterfaceDescriptor {
|
| public:
|
|
|