| Index: src/interface-descriptors.h
|
| diff --git a/src/interface-descriptors.h b/src/interface-descriptors.h
|
| index 1d1b48af93a0b4ab780f021beb69481897af625c..9061cdf6e0f78d201b606e06c8e96cbf6b13133e 100644
|
| --- a/src/interface-descriptors.h
|
| +++ b/src/interface-descriptors.h
|
| @@ -17,88 +17,89 @@ namespace internal {
|
| class PlatformInterfaceDescriptor;
|
|
|
| #define INTERFACE_DESCRIPTOR_LIST(V) \
|
| - V(Void) \
|
| - V(ContextOnly) \
|
| - V(Load) \
|
| - V(LoadWithVector) \
|
| - V(LoadField) \
|
| - V(LoadICProtoArray) \
|
| - V(LoadGlobal) \
|
| - V(LoadGlobalWithVector) \
|
| - V(Store) \
|
| - V(StoreWithVector) \
|
| - V(StoreNamedTransition) \
|
| - V(StoreTransition) \
|
| - V(VarArgFunction) \
|
| - V(FastNewClosure) \
|
| - V(FastNewFunctionContext) \
|
| - V(FastNewObject) \
|
| - V(FastNewRestParameter) \
|
| - V(FastNewSloppyArguments) \
|
| - V(FastNewStrictArguments) \
|
| - V(TypeConversion) \
|
| - V(Typeof) \
|
| - V(FastCloneRegExp) \
|
| - V(FastCloneShallowArray) \
|
| - V(FastCloneShallowObject) \
|
| - V(CreateAllocationSite) \
|
| - V(CreateWeakCell) \
|
| - V(CallFunction) \
|
| - V(CallFunctionWithFeedback) \
|
| - V(CallFunctionWithFeedbackAndVector) \
|
| - V(CallConstruct) \
|
| - V(CallTrampoline) \
|
| - V(ConstructStub) \
|
| - V(ConstructTrampoline) \
|
| - V(RegExpExec) \
|
| - V(CopyFastSmiOrObjectElements) \
|
| - V(TransitionElementsKind) \
|
| - V(AllocateHeapNumber) \
|
| - V(AllocateFloat32x4) \
|
| - V(AllocateInt32x4) \
|
| - V(AllocateUint32x4) \
|
| + V(AllocateBool16x8) \
|
| V(AllocateBool32x4) \
|
| + V(AllocateBool8x16) \
|
| + V(AllocateFloat32x4) \
|
| + V(AllocateHeapNumber) \
|
| V(AllocateInt16x8) \
|
| - V(AllocateUint16x8) \
|
| - V(AllocateBool16x8) \
|
| + V(AllocateInt32x4) \
|
| V(AllocateInt8x16) \
|
| + V(AllocateUint16x8) \
|
| + V(AllocateUint32x4) \
|
| V(AllocateUint8x16) \
|
| - V(AllocateBool8x16) \
|
| - V(Builtin) \
|
| + V(ApiCallback) \
|
| + V(ApiGetter) \
|
| + V(ArgumentAdaptor) \
|
| + V(ArrayNArgumentsConstructor) \
|
| V(ArrayNoArgumentConstructor) \
|
| V(ArraySingleArgumentConstructor) \
|
| - V(ArrayNArgumentsConstructor) \
|
| - V(Compare) \
|
| V(BinaryOp) \
|
| V(BinaryOpWithAllocationSite) \
|
| V(BinaryOpWithVector) \
|
| + V(Builtin) \
|
| + V(CallConstruct) \
|
| + V(CallFunction) \
|
| + V(CallFunctionWithFeedback) \
|
| + V(CallFunctionWithFeedbackAndVector) \
|
| + V(CallHandler) \
|
| + V(CallTrampoline) \
|
| + V(Compare) \
|
| + V(ConstructStub) \
|
| + V(ConstructTrampoline) \
|
| + V(ContextOnly) \
|
| + V(CopyFastSmiOrObjectElements) \
|
| V(CountOp) \
|
| - V(StringAdd) \
|
| - V(StringCharAt) \
|
| - V(StringCharCodeAt) \
|
| - V(StringCompare) \
|
| - V(SubString) \
|
| - V(Keyed) \
|
| - V(Named) \
|
| + V(CreateAllocationSite) \
|
| V(CreateIterResultObject) \
|
| - V(HasProperty) \
|
| + V(CreateWeakCell) \
|
| + V(FastCloneRegExp) \
|
| + V(FastCloneShallowArray) \
|
| + V(FastCloneShallowObject) \
|
| + V(FastNewClosure) \
|
| + V(FastNewFunctionContext) \
|
| + V(FastNewObject) \
|
| + V(FastNewRestParameter) \
|
| + V(FastNewSloppyArguments) \
|
| + V(FastNewStrictArguments) \
|
| V(ForInFilter) \
|
| V(GetProperty) \
|
| - V(CallHandler) \
|
| - V(ArgumentAdaptor) \
|
| - V(ApiCallback) \
|
| - V(ApiGetter) \
|
| - V(MathPowTagged) \
|
| - V(MathPowInteger) \
|
| V(GrowArrayElements) \
|
| - V(NewArgumentsElements) \
|
| + V(HasProperty) \
|
| + V(InterpreterCEntry) \
|
| V(InterpreterDispatch) \
|
| V(InterpreterPushArgsAndCall) \
|
| V(InterpreterPushArgsAndConstruct) \
|
| V(InterpreterPushArgsAndConstructArray) \
|
| - V(InterpreterCEntry) \
|
| + V(Keyed) \
|
| + V(Load) \
|
| + V(LoadField) \
|
| + V(LoadGlobal) \
|
| + V(LoadGlobalWithVector) \
|
| + V(LoadICProtoArray) \
|
| + V(LoadWithVector) \
|
| + V(MathPowInteger) \
|
| + V(MathPowTagged) \
|
| + V(Named) \
|
| + V(NewArgumentsElements) \
|
| + V(PromiseHandleReject) \
|
| + V(RegExpExec) \
|
| V(ResumeGenerator) \
|
| - V(PromiseHandleReject)
|
| + V(Store) \
|
| + V(StoreNamedTransition) \
|
| + V(StoreTransition) \
|
| + V(StoreWithVector) \
|
| + V(StringAdd) \
|
| + V(StringCharAt) \
|
| + V(StringCharCodeAt) \
|
| + V(StringCompare) \
|
| + V(StringIndexOf) \
|
| + V(SubString) \
|
| + V(TransitionElementsKind) \
|
| + V(TypeConversion) \
|
| + V(Typeof) \
|
| + V(VarArgFunction) \
|
| + V(Void)
|
|
|
| class V8_EXPORT_PRIVATE CallInterfaceDescriptorData {
|
| public:
|
| @@ -738,6 +739,13 @@ class StringCompareDescriptor : public CallInterfaceDescriptor {
|
| static const Register RightRegister();
|
| };
|
|
|
| +class StringIndexOfDescriptor final : public CallInterfaceDescriptor {
|
| + public:
|
| + DEFINE_PARAMETERS(kReceiver, kSearchString, kPosition)
|
| + DECLARE_DEFAULT_DESCRIPTOR(StringIndexOfDescriptor, CallInterfaceDescriptor,
|
| + kParameterCount)
|
| +};
|
| +
|
| class SubStringDescriptor : public CallInterfaceDescriptor {
|
| public:
|
| DEFINE_PARAMETERS(kString, kFrom, kTo)
|
|
|