Index: src/interface-descriptors.h |
diff --git a/src/interface-descriptors.h b/src/interface-descriptors.h |
index f9720dfc50f3af69b482f3dbab92ed806c8d0000..6a5e1fa5efd97ed7958d34a3a4914687b6933988 100644 |
--- a/src/interface-descriptors.h |
+++ b/src/interface-descriptors.h |
@@ -76,6 +76,7 @@ class PlatformInterfaceDescriptor; |
V(MathPowInteger) \ |
V(ContextOnly) \ |
V(GrowArrayElements) \ |
+ V(InterpreterDispatch) \ |
V(InterpreterPushArgsAndCall) \ |
V(InterpreterPushArgsAndConstruct) \ |
V(InterpreterCEntry) |
@@ -752,6 +753,18 @@ class GrowArrayElementsDescriptor : public CallInterfaceDescriptor { |
static const Register KeyRegister(); |
}; |
+class InterpreterDispatchDescriptor : public CallInterfaceDescriptor { |
+ public: |
+ DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(InterpreterDispatchDescriptor, |
+ CallInterfaceDescriptor) |
+ |
+ static const int kAccumulatorParameter = 0; |
+ static const int kRegisterFileParameter = 1; |
+ static const int kBytecodeOffsetParameter = 2; |
+ static const int kBytecodeArrayParameter = 3; |
+ static const int kDispatchTableParameter = 4; |
+ static const int kContextParameter = 5; |
+}; |
class InterpreterPushArgsAndCallDescriptor : public CallInterfaceDescriptor { |
public: |
@@ -773,7 +786,6 @@ class InterpreterCEntryDescriptor : public CallInterfaceDescriptor { |
DECLARE_DESCRIPTOR(InterpreterCEntryDescriptor, CallInterfaceDescriptor) |
}; |
- |
#undef DECLARE_DESCRIPTOR |