diff options
Diffstat (limited to 'deps/v8/src/compiler/graph-assembler.cc')
-rw-r--r-- | deps/v8/src/compiler/graph-assembler.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/v8/src/compiler/graph-assembler.cc b/deps/v8/src/compiler/graph-assembler.cc index 12746c2b13..a91b83a035 100644 --- a/deps/v8/src/compiler/graph-assembler.cc +++ b/deps/v8/src/compiler/graph-assembler.cc @@ -224,7 +224,8 @@ void GraphAssembler::Reset(Node* effect, Node* control) { Operator const* GraphAssembler::ToNumberOperator() { if (!to_number_operator_.is_set()) { - Callable callable = CodeFactory::ToNumber(jsgraph()->isolate()); + Callable callable = + Builtins::CallableFor(jsgraph()->isolate(), Builtins::kToNumber); CallDescriptor::Flags flags = CallDescriptor::kNoFlags; CallDescriptor* desc = Linkage::GetStubCallDescriptor( jsgraph()->isolate(), graph()->zone(), callable.descriptor(), 0, flags, |