Index: src/interpreter/interpreter-intrinsics-generator.cc |
diff --git a/src/interpreter/interpreter-intrinsics-generator.cc b/src/interpreter/interpreter-intrinsics-generator.cc |
index 1f2816d2dbbc29908543028a1b89297c7cc59cae..db2c06c37c1c7cc2d0925a74f08ebe120a0333a2 100644 |
--- a/src/interpreter/interpreter-intrinsics-generator.cc |
+++ b/src/interpreter/interpreter-intrinsics-generator.cc |
@@ -293,7 +293,8 @@ Node* IntrinsicsGenerator::SubString(Node* input, Node* arg_count, |
Node* IntrinsicsGenerator::ToString(Node* input, Node* arg_count, |
Node* context) { |
- return IntrinsicAsStubCall(input, context, CodeFactory::ToString(isolate())); |
+ return IntrinsicAsStubCall( |
+ input, context, Builtins::CallableFor(isolate(), Builtins::kToString)); |
} |
Node* IntrinsicsGenerator::ToLength(Node* input, Node* arg_count, |
@@ -313,7 +314,8 @@ Node* IntrinsicsGenerator::ToNumber(Node* input, Node* arg_count, |
Node* IntrinsicsGenerator::ToObject(Node* input, Node* arg_count, |
Node* context) { |
- return IntrinsicAsStubCall(input, context, CodeFactory::ToObject(isolate())); |
+ return IntrinsicAsStubCall( |
+ input, context, Builtins::CallableFor(isolate(), Builtins::kToObject)); |
} |
Node* IntrinsicsGenerator::Call(Node* args_reg, Node* arg_count, |