Index: src/code-factory.cc |
diff --git a/src/code-factory.cc b/src/code-factory.cc |
index 0ff6defa05a675ad6e71f7114567a8e0f4bf7389..d1dcc9a28817cae1c46037ad557b65786b3861fa 100644 |
--- a/src/code-factory.cc |
+++ b/src/code-factory.cc |
@@ -294,6 +294,12 @@ Callable CodeFactory::StringCompare(Isolate* isolate, Token::Value token) { |
} |
// static |
+Callable CodeFactory::StringIndexOf(Isolate* isolate) { |
+ return Callable(isolate->builtins()->StringIndexOf(), |
+ StringIndexOfDescriptor(isolate)); |
+} |
+ |
+// static |
Callable CodeFactory::SubString(Isolate* isolate) { |
SubStringStub stub(isolate); |
return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor()); |