Index: src/code-factory.cc |
diff --git a/src/code-factory.cc b/src/code-factory.cc |
index 1fbeec308e32b9039462076b164b15646cd30eb9..0d635e64722ad21c71503534f88ea5375b996122 100644 |
--- a/src/code-factory.cc |
+++ b/src/code-factory.cc |
@@ -265,6 +265,14 @@ TFS_BUILTIN(StringGreaterThanOrEqual) |
#undef TFS_BUILTIN |
// static |
+Callable CodeFactory::RegExpExecInternal(Isolate* isolate, bool is_fastpath) { |
+ Handle<Code> code(is_fastpath |
+ ? isolate->builtins()->RegExpExecInternalFast() |
+ : isolate->builtins()->RegExpExecInternalSlow()); |
+ return Callable(code, RegExpExecInternalDescriptor(isolate)); |
+} |
+ |
+// static |
Callable CodeFactory::StringAdd(Isolate* isolate, StringAddFlags flags, |
PretenureFlag pretenure_flag) { |
StringAddStub stub(isolate, flags, pretenure_flag); |