Index: src/builtins/builtins-async-generator-gen.cc |
diff --git a/src/builtins/builtins-async-generator-gen.cc b/src/builtins/builtins-async-generator-gen.cc |
index b3cb3d8ebd0d75f5263803f244616a35e03c8a73..58717b6245259d897cf8b910261ec2c17beda6a4 100644 |
--- a/src/builtins/builtins-async-generator-gen.cc |
+++ b/src/builtins/builtins-async-generator-gen.cc |
@@ -234,8 +234,7 @@ void AsyncGeneratorBuiltinsAssembler::AsyncGeneratorAwaitResumeClosure( |
SmiConstant(resume_mode), |
SmiConstant(static_cast<int>(SuspendFlags::kAsyncGeneratorAwait))); |
- TailCallStub(CodeFactory::AsyncGeneratorResumeNext(isolate()), context, |
- generator); |
+ TailCallBuiltin(Builtins::kAsyncGeneratorResumeNext, context, generator); |
} |
template <typename Descriptor> |