Index: src/builtins/builtins-async-iterator-gen.cc |
diff --git a/src/builtins/builtins-async-iterator-gen.cc b/src/builtins/builtins-async-iterator-gen.cc |
index 2caa3c9edb17beb3a6914e495c511afa7127a3a2..ca402515f360c3f617e4e2fb7c1b528b7b2be6a5 100644 |
--- a/src/builtins/builtins-async-iterator-gen.cc |
+++ b/src/builtins/builtins-async-iterator-gen.cc |
@@ -203,7 +203,7 @@ std::pair<Node*, Node*> AsyncFromSyncBuiltinsAssembler::LoadIteratorResult( |
BIND(&to_boolean); |
{ |
Node* const result = |
- CallStub(CodeFactory::ToBoolean(isolate()), context, var_done.value()); |
+ CallBuiltin(Builtins::kToBoolean, context, var_done.value()); |
var_done.Bind(result); |
Goto(&done); |
} |