Index: src/interface-descriptors.h |
diff --git a/src/interface-descriptors.h b/src/interface-descriptors.h |
index 4a42862afa0b678969684db02a849b7683271abf..b97c45cd0e902829b8d04d2b22fb2e4aeed3c7ec 100644 |
--- a/src/interface-descriptors.h |
+++ b/src/interface-descriptors.h |
@@ -49,6 +49,7 @@ |
V(CallTrampoline) \ |
V(ConstructStub) \ |
V(ConstructTrampoline) \ |
+ V(RegExpExec) \ |
V(TransitionElementsKind) \ |
V(AllocateHeapNumber) \ |
V(Builtin) \ |
@@ -612,6 +613,19 @@ |
DECLARE_DESCRIPTOR(CallConstructDescriptor, CallInterfaceDescriptor) |
}; |
+class RegExpExecDescriptor : public CallInterfaceDescriptor { |
+ public: |
+ DEFINE_PARAMETERS(kString, kLastIndex, kStringStart, kStringEnd, kCode) |
+ DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(RegExpExecDescriptor, |
+ CallInterfaceDescriptor) |
+ |
+ static const Register StringRegister(); |
+ static const Register LastIndexRegister(); |
+ static const Register StringStartRegister(); |
+ static const Register StringEndRegister(); |
+ static const Register CodeRegister(); |
+}; |
+ |
class TransitionElementsKindDescriptor : public CallInterfaceDescriptor { |
public: |
DEFINE_PARAMETERS(kObject, kMap) |