Index: src/crankshaft/hydrogen.cc |
diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc |
index f176de3dce55222d345ba87cd1ea5fa772806c87..753e09e0260a67bcf7a0502e0598c0d5d1d51c0b 100644 |
--- a/src/crankshaft/hydrogen.cc |
+++ b/src/crankshaft/hydrogen.cc |
@@ -11542,7 +11542,7 @@ void HOptimizedGraphBuilder::GenerateToString(CallRuntime* call) { |
if (input->type().IsString()) { |
return ast_context()->ReturnValue(input); |
} else { |
- Callable callable = CodeFactory::ToString(isolate()); |
+ Callable callable = Builtins::CallableFor(isolate(), Builtins::kToString); |
HValue* stub = Add<HConstant>(callable.code()); |
HValue* values[] = {input}; |
HInstruction* result = New<HCallWithDescriptor>( |