Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Unified Diff: src/compiler/js-intrinsic-lowering.cc

Issue 2913783002: [builtins] Begin removing CodeFactory accessors (Closed)
Patch Set: V8_EXPORT_PRIVATE Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/compiler/js-typed-lowering.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/compiler/js-typed-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698