| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index 1bbf780e3068d745847dad8f4b1a76c8aa6d16d2..56c0f4d2cb61276cd7db14198b1bfcb216e4ba4b 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -488,12 +488,6 @@ class CodeStub BASE_EMBEDDED {
|
| return Descriptor(isolate()); \
|
| }
|
|
|
| -#define DEFINE_ON_STACK_CALL_INTERFACE_DESCRIPTOR(PARAMETER_COUNT) \
|
| - public: \
|
| - CallInterfaceDescriptor GetCallInterfaceDescriptor() const override { \
|
| - return OnStackArgsDescriptorBase::ForArgs(isolate(), PARAMETER_COUNT); \
|
| - }
|
| -
|
| // There are some code stubs we just can't describe right now with a
|
| // CallInterfaceDescriptor. Isolate behavior for those cases with this macro.
|
| // An attempt to retrieve a descriptor will fail.
|
| @@ -2119,7 +2113,7 @@ class RegExpExecStub: public PlatformCodeStub {
|
| public:
|
| explicit RegExpExecStub(Isolate* isolate) : PlatformCodeStub(isolate) { }
|
|
|
| - DEFINE_ON_STACK_CALL_INTERFACE_DESCRIPTOR(4);
|
| + DEFINE_CALL_INTERFACE_DESCRIPTOR(RegExpExec);
|
| DEFINE_PLATFORM_CODE_STUB(RegExpExec, PlatformCodeStub);
|
| };
|
|
|
| @@ -3117,7 +3111,7 @@ class SubStringStub : public PlatformCodeStub {
|
| public:
|
| explicit SubStringStub(Isolate* isolate) : PlatformCodeStub(isolate) {}
|
|
|
| - DEFINE_ON_STACK_CALL_INTERFACE_DESCRIPTOR(3);
|
| + DEFINE_CALL_INTERFACE_DESCRIPTOR(SubString);
|
| DEFINE_PLATFORM_CODE_STUB(SubString, PlatformCodeStub);
|
| };
|
|
|
|
|