Index: src/interface-descriptors.h |
diff --git a/src/interface-descriptors.h b/src/interface-descriptors.h |
index 23153fc92515d7f5b63b2e41c0a02e30d6cc342e..0723f9bc24c53f86f9cdfc1ca5a2a2c5b4e3a286 100644 |
--- a/src/interface-descriptors.h |
+++ b/src/interface-descriptors.h |
@@ -52,6 +52,8 @@ class PlatformInterfaceDescriptor; |
V(ConstructStub) \ |
V(ConstructTrampoline) \ |
V(RegExpExec) \ |
+ V(RegExpReplace) \ |
+ V(RegExpSplit) \ |
V(CopyFastSmiOrObjectElements) \ |
V(TransitionElementsKind) \ |
V(AllocateHeapNumber) \ |
@@ -622,6 +624,20 @@ class RegExpExecDescriptor : public CallInterfaceDescriptor { |
CallInterfaceDescriptor) |
}; |
+class RegExpReplaceDescriptor : public CallInterfaceDescriptor { |
+ public: |
+ DEFINE_PARAMETERS(kReceiver, kString, kReplaceValue) |
+ DECLARE_DEFAULT_DESCRIPTOR(RegExpReplaceDescriptor, CallInterfaceDescriptor, |
+ kParameterCount) |
+}; |
+ |
+class RegExpSplitDescriptor : public CallInterfaceDescriptor { |
+ public: |
+ DEFINE_PARAMETERS(kReceiver, kString, kLimit) |
+ DECLARE_DEFAULT_DESCRIPTOR(RegExpSplitDescriptor, CallInterfaceDescriptor, |
+ kParameterCount) |
+}; |
+ |
class CopyFastSmiOrObjectElementsDescriptor : public CallInterfaceDescriptor { |
public: |
DEFINE_PARAMETERS(kObject) |