Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index 4d0dd3d5894f96bd7994d5333ba34e1d0b51917d..18d578edb2d489e0532e3b0658786fc049728f87 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -614,7 +614,8 @@ void FullCodeGenerator::EmitIntrinsicAsStubCall(CallRuntime* expr, |
void FullCodeGenerator::EmitToString(CallRuntime* expr) { |
- EmitIntrinsicAsStubCall(expr, CodeFactory::ToString(isolate())); |
+ EmitIntrinsicAsStubCall( |
+ expr, Builtins::CallableFor(isolate(), Builtins::kToString)); |
} |
@@ -632,7 +633,8 @@ void FullCodeGenerator::EmitToNumber(CallRuntime* expr) { |
void FullCodeGenerator::EmitToObject(CallRuntime* expr) { |
- EmitIntrinsicAsStubCall(expr, CodeFactory::ToObject(isolate())); |
+ EmitIntrinsicAsStubCall( |
+ expr, Builtins::CallableFor(isolate(), Builtins::kToObject)); |
} |