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

Unified Diff: src/builtins/builtins-iterator-gen.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/builtins/builtins-date-gen.cc ('k') | src/builtins/builtins-number-gen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/builtins-iterator-gen.cc
diff --git a/src/builtins/builtins-iterator-gen.cc b/src/builtins/builtins-iterator-gen.cc
index fd3dcb658a7743d634976ae5f72f68bc4cf127cc..3a8732948362c858587ab41d1111cd05455df374 100644
--- a/src/builtins/builtins-iterator-gen.cc
+++ b/src/builtins/builtins-iterator-gen.cc
@@ -77,7 +77,7 @@ Node* IteratorBuiltinsAssembler::IteratorStep(Node* context, Node* iterator,
Branch(IsBoolean(done), &return_result, &to_boolean);
BIND(&to_boolean);
- var_done.Bind(CallStub(CodeFactory::ToBoolean(isolate()), context, done));
+ var_done.Bind(CallBuiltin(Builtins::kToBoolean, context, done));
Goto(&return_result);
}
« no previous file with comments | « src/builtins/builtins-date-gen.cc ('k') | src/builtins/builtins-number-gen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698