Index: src/code-factory.cc |
diff --git a/src/code-factory.cc b/src/code-factory.cc |
index 0fbb36f6dbec8300dcba26b7c831562a4bc05045..c1210df3621c777d24f9591fb8fe96b03601300c 100644 |
--- a/src/code-factory.cc |
+++ b/src/code-factory.cc |
@@ -221,6 +221,13 @@ Callable CodeFactory::Typeof(Isolate* isolate) { |
// static |
+Callable CodeFactory::FastCloneRegExp(Isolate* isolate) { |
+ FastCloneRegExpStub stub(isolate); |
+ return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor()); |
+} |
+ |
+ |
+// static |
Callable CodeFactory::FastCloneShallowArray(Isolate* isolate) { |
// TODO(mstarzinger): Thread through AllocationSiteMode at some point. |
FastCloneShallowArrayStub stub(isolate, DONT_TRACK_ALLOCATION_SITE); |