Index: src/interpreter/interpreter-generator.cc |
diff --git a/src/interpreter/interpreter-generator.cc b/src/interpreter/interpreter-generator.cc |
index eb65d06a96fe7dc7d351cecc22b06c9b72b2de0b..85a15b2389b9cff57452cd0957b7e6be093fdd1a 100644 |
--- a/src/interpreter/interpreter-generator.cc |
+++ b/src/interpreter/interpreter-generator.cc |
@@ -1460,7 +1460,7 @@ IGNITION_HANDLER(ToNumber, InterpreterAssembler) { |
// |
// Convert the object referenced by the accumulator to a JSReceiver. |
IGNITION_HANDLER(ToObject, InterpreterAssembler) { |
- Callable callable(CodeFactory::ToObject(isolate())); |
+ Callable callable = Builtins::CallableFor(isolate(), Builtins::kToObject); |
Node* target = HeapConstant(callable.code()); |
Node* accumulator = GetAccumulator(); |
Node* context = GetContext(); |