Index: src/code-factory.cc |
diff --git a/src/code-factory.cc b/src/code-factory.cc |
index 23981927850ad05e647f80462b577532c27ed59c..037a866681a8ce9db348d19a9995620e7f412885 100644 |
--- a/src/code-factory.cc |
+++ b/src/code-factory.cc |
@@ -183,6 +183,13 @@ Callable CodeFactory::ToString(Isolate* isolate) { |
// static |
+Callable CodeFactory::ToLength(Isolate* isolate) { |
+ ToLengthStub stub(isolate); |
+ return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor()); |
+} |
+ |
+ |
+// static |
Callable CodeFactory::ToObject(Isolate* isolate) { |
ToObjectStub stub(isolate); |
return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor()); |