| Index: src/interface-descriptors.h
|
| diff --git a/src/interface-descriptors.h b/src/interface-descriptors.h
|
| index 67d23b159136dd2acfad3c0b44c499cbedb67d70..3b928bc51140fee0685f41d7d2934d3f0793c0a6 100644
|
| --- a/src/interface-descriptors.h
|
| +++ b/src/interface-descriptors.h
|
| @@ -93,7 +93,8 @@ class PlatformInterfaceDescriptor;
|
| V(InterpreterPushArgsAndConstruct) \
|
| V(InterpreterPushArgsAndConstructArray) \
|
| V(InterpreterCEntry) \
|
| - V(ResumeGenerator)
|
| + V(ResumeGenerator) \
|
| + V(PromiseHandleReject)
|
|
|
| class V8_EXPORT_PRIVATE CallInterfaceDescriptorData {
|
| public:
|
| @@ -834,6 +835,13 @@ class ResumeGeneratorDescriptor final : public CallInterfaceDescriptor {
|
| DECLARE_DESCRIPTOR(ResumeGeneratorDescriptor, CallInterfaceDescriptor)
|
| };
|
|
|
| +class PromiseHandleRejectDescriptor final : public CallInterfaceDescriptor {
|
| + public:
|
| + DEFINE_PARAMETERS(kPromise, kOnReject, kException)
|
| + DECLARE_DEFAULT_DESCRIPTOR(PromiseHandleRejectDescriptor,
|
| + CallInterfaceDescriptor, kParameterCount)
|
| +};
|
| +
|
| #undef DECLARE_DESCRIPTOR_WITH_BASE
|
| #undef DECLARE_DESCRIPTOR
|
| #undef DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE
|
|
|