Index: src/compiler/linkage.h |
diff --git a/src/compiler/linkage.h b/src/compiler/linkage.h |
index a0434f8afff6c2651bf8ac60e7f588c07bb77c28..d00fb4603b66a9f5a4f1f21e42a759646016a8a9 100644 |
--- a/src/compiler/linkage.h |
+++ b/src/compiler/linkage.h |
@@ -308,6 +308,7 @@ std::ostream& operator<<(std::ostream& os, const CallDescriptor::Kind& k); |
// Call[CodeStub] code, arg 1, arg 2, arg 3, [...], context |
// Call[JSFunction] function, rcvr, arg 1, arg 2, [...], new, #arg, context |
// Call[Runtime] CEntryStub, arg 1, arg 2, arg 3, [...], fun, #arg, context |
+// Call[Dispatch] code_entry, arg 1, arg 2, arg 3, [...], context |
Benedikt Meurer
2016/04/12 13:20:12
Nit: s/Dispatch/Address ?
rmcilroy
2016/04/12 15:25:58
Also BytecodeDispatch.
|
class Linkage : public ZoneObject { |
public: |
explicit Linkage(CallDescriptor* incoming) : incoming_(incoming) {} |
@@ -332,6 +333,10 @@ class Linkage : public ZoneObject { |
MachineType return_type = MachineType::AnyTagged(), |
size_t return_count = 1); |
+ static CallDescriptor* GetDispatchCallDescriptor( |
+ Isolate* isolate, Zone* zone, const CallInterfaceDescriptor& descriptor, |
+ int stack_parameter_count); |
+ |
// Creates a call descriptor for simplified C calls that is appropriate |
// for the host platform. This simplified calling convention only supports |
// integers and pointers of one word size each, i.e. no floating point, |