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

Unified Diff: src/code-factory.cc

Issue 2753793002: [builtins] Separate Array.prototype.* CSA builtins into two parts (Closed)
Patch Set: Remove stray changes Created 3 years, 9 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/code-factory.h ('k') | src/compiler/code-assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-factory.cc
diff --git a/src/code-factory.cc b/src/code-factory.cc
index 2b88929e44ae33764136a779bf54e81706178797..8901c481b0509fc52b240b806aeeb05dc5fcbd03 100644
--- a/src/code-factory.cc
+++ b/src/code-factory.cc
@@ -509,6 +509,24 @@ Callable CodeFactory::ArrayPush(Isolate* isolate) {
}
// static
+Callable CodeFactory::ArrayForEachLoopContinuation(Isolate* isolate) {
+ return Callable(isolate->builtins()->ArrayForEachLoopContinuation(),
+ IteratingArrayBuiltinLoopContinuationDescriptor(isolate));
+}
+
+// static
+Callable CodeFactory::ArraySomeLoopContinuation(Isolate* isolate) {
+ return Callable(isolate->builtins()->ArraySomeLoopContinuation(),
+ IteratingArrayBuiltinLoopContinuationDescriptor(isolate));
+}
+
+// static
+Callable CodeFactory::ArrayEveryLoopContinuation(Isolate* isolate) {
+ return Callable(isolate->builtins()->ArrayEveryLoopContinuation(),
+ IteratingArrayBuiltinLoopContinuationDescriptor(isolate));
+}
+
+// static
Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) {
return Callable(isolate->builtins()->FunctionPrototypeBind(),
BuiltinDescriptor(isolate));
« no previous file with comments | « src/code-factory.h ('k') | src/compiler/code-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698