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

Unified Diff: src/interface-descriptors.h

Issue 2380523005: [interpreter] Specify and type the parameters of the Interpreter*Descriptors. (Closed)
Patch Set: Update. Created 4 years, 3 months 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 | « no previous file | src/interface-descriptors.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 102fb853b68bda2a2ae561eeca3173caf1991752..76530fcf3889d27ccd2187ba5a21f0478a8a62b6 100644
--- a/src/interface-descriptors.h
+++ b/src/interface-descriptors.h
@@ -764,28 +764,35 @@ class InterpreterDispatchDescriptor : public CallInterfaceDescriptor {
class InterpreterPushArgsAndCallDescriptor : public CallInterfaceDescriptor {
public:
- DECLARE_DESCRIPTOR(InterpreterPushArgsAndCallDescriptor,
- CallInterfaceDescriptor)
+ DEFINE_PARAMETERS(kNumberOfArguments, kFirstArgument, kFunction)
+ DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(
+ InterpreterPushArgsAndCallDescriptor, CallInterfaceDescriptor)
};
class InterpreterPushArgsAndConstructDescriptor
: public CallInterfaceDescriptor {
public:
- DECLARE_DESCRIPTOR(InterpreterPushArgsAndConstructDescriptor,
- CallInterfaceDescriptor)
+ DEFINE_PARAMETERS(kNumberOfArguments, kNewTarget, kConstructor,
+ kFeedbackElement, kFirstArgument)
+ DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(
+ InterpreterPushArgsAndConstructDescriptor, CallInterfaceDescriptor)
};
class InterpreterPushArgsAndConstructArrayDescriptor
: public CallInterfaceDescriptor {
public:
- DECLARE_DESCRIPTOR(InterpreterPushArgsAndConstructArrayDescriptor,
- CallInterfaceDescriptor)
+ DEFINE_PARAMETERS(kNumberOfArguments, kFunction, kFeedbackElement,
+ kFirstArgument)
+ DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(
+ InterpreterPushArgsAndConstructArrayDescriptor, CallInterfaceDescriptor)
};
class InterpreterCEntryDescriptor : public CallInterfaceDescriptor {
public:
- DECLARE_DESCRIPTOR(InterpreterCEntryDescriptor, CallInterfaceDescriptor)
+ DEFINE_PARAMETERS(kNumberOfArguments, kFirstArgument, kFunctionEntry)
+ DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(InterpreterCEntryDescriptor,
+ CallInterfaceDescriptor)
};
class ResumeGeneratorDescriptor final : public CallInterfaceDescriptor {
« no previous file with comments | « no previous file | src/interface-descriptors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698