Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index bfacf6c62cc5682df71cf992129185ff62a81d80..b3269eade1c9531a59f5c43f8ca4bb4670ce7fb2 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -45,6 +45,7 @@ |
V(MathPow) \ |
V(ProfileEntryHook) \ |
V(RecordWrite) \ |
+ V(RegExpExec) \ |
V(StoreBufferOverflow) \ |
V(StoreSlowElement) \ |
V(SubString) \ |
@@ -1135,6 +1136,15 @@ |
DEFINE_PLATFORM_CODE_STUB(JSEntry, PlatformCodeStub); |
}; |
+ |
+class RegExpExecStub: public PlatformCodeStub { |
+ public: |
+ explicit RegExpExecStub(Isolate* isolate) : PlatformCodeStub(isolate) { } |
+ |
+ DEFINE_CALL_INTERFACE_DESCRIPTOR(RegExpExec); |
+ DEFINE_PLATFORM_CODE_STUB(RegExpExec, PlatformCodeStub); |
+}; |
+ |
// TODO(bmeurer/mvstanton): Turn CallConstructStub into ConstructICStub. |
class CallConstructStub final : public PlatformCodeStub { |
public: |