Index: src/compiler/js-intrinsic-lowering.cc |
diff --git a/src/compiler/js-intrinsic-lowering.cc b/src/compiler/js-intrinsic-lowering.cc |
index b9ee8a4ed6cd3d93fdcbacf0ee6f4fd3f42ed758..9b1c63f55b29d2da641731407ccf02f28bdc1738 100644 |
--- a/src/compiler/js-intrinsic-lowering.cc |
+++ b/src/compiler/js-intrinsic-lowering.cc |
@@ -210,11 +210,15 @@ Reduction JSIntrinsicLowering::ReduceAsyncGeneratorGetAwaitInputOrDebugPos( |
} |
Reduction JSIntrinsicLowering::ReduceAsyncGeneratorReject(Node* node) { |
- return Change(node, CodeFactory::AsyncGeneratorReject(isolate()), 0); |
+ return Change( |
+ node, Builtins::CallableFor(isolate(), Builtins::kAsyncGeneratorReject), |
+ 0); |
} |
Reduction JSIntrinsicLowering::ReduceAsyncGeneratorResolve(Node* node) { |
- return Change(node, CodeFactory::AsyncGeneratorResolve(isolate()), 0); |
+ return Change( |
+ node, Builtins::CallableFor(isolate(), Builtins::kAsyncGeneratorResolve), |
+ 0); |
} |
Reduction JSIntrinsicLowering::ReduceGeneratorGetContext(Node* node) { |