Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 8f919ea370a286c4e84a081fbf4243cdc3c85121..8bf470115d1d79b4d1fadac2a5c3eff39ad7551a 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -70,6 +70,7 @@ namespace internal { |
V(CreateAllocationSite) \ |
V(CreateWeakCell) \ |
V(ElementsTransitionAndStore) \ |
+ V(FastCloneRegExp) \ |
V(FastCloneShallowArray) \ |
V(FastCloneShallowObject) \ |
V(FastNewClosure) \ |
@@ -793,6 +794,16 @@ class FastNewContextStub final : public HydrogenCodeStub { |
}; |
+class FastCloneRegExpStub final : public HydrogenCodeStub { |
+ public: |
+ explicit FastCloneRegExpStub(Isolate* isolate) : HydrogenCodeStub(isolate) {} |
+ |
+ private: |
+ DEFINE_CALL_INTERFACE_DESCRIPTOR(FastCloneRegExp); |
+ DEFINE_HYDROGEN_CODE_STUB(FastCloneRegExp, HydrogenCodeStub); |
+}; |
+ |
+ |
class FastCloneShallowArrayStub : public HydrogenCodeStub { |
public: |
FastCloneShallowArrayStub(Isolate* isolate, |