Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 9b6cfaa9c2982660a25d3819556629b7c5effa64..1bbf780e3068d745847dad8f4b1a76c8aa6d16d2 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -1816,10 +1816,6 @@ class CallApiCallbackStub : public PlatformCodeStub { |
: CallApiCallbackStub(isolate, argc, false, call_data_undefined, |
is_lazy) {} |
- CallInterfaceDescriptor GetCallInterfaceDescriptor() const override { |
- return ApiCallbackDescriptorBase::ForArgs(isolate(), argc()); |
- } |
- |
private: |
CallApiCallbackStub(Isolate* isolate, int argc, bool is_store, |
bool call_data_undefined, bool is_lazy) |
@@ -1843,6 +1839,7 @@ class CallApiCallbackStub : public PlatformCodeStub { |
class ArgumentBits : public BitField<int, 2, kArgBits> {}; |
class IsLazyAccessorBits : public BitField<bool, 3 + kArgBits, 1> {}; |
+ DEFINE_CALL_INTERFACE_DESCRIPTOR(ApiCallback); |
DEFINE_PLATFORM_CODE_STUB(CallApiCallback, PlatformCodeStub); |
}; |