Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(459)

Unified Diff: src/interface-descriptors.h

Issue 2572623002: PromiseHandle port to TF (Closed)
Patch Set: Address comments Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/heap-symbols.h ('k') | src/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « src/heap-symbols.h ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698