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

Side by Side Diff: src/code-factory.cc

Issue 2752273003: [builtins] Implement Array.prototype.reduce in the CSA (Closed)
Patch Set: Cleanup 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/code-factory.h" 5 #include "src/code-factory.h"
6 6
7 #include "src/bootstrapper.h" 7 #include "src/bootstrapper.h"
8 #include "src/ic/ic.h" 8 #include "src/ic/ic.h"
9 #include "src/objects-inl.h" 9 #include "src/objects-inl.h"
10 10
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 IteratingArrayBuiltinLoopContinuationDescriptor(isolate)); 520 IteratingArrayBuiltinLoopContinuationDescriptor(isolate));
521 } 521 }
522 522
523 // static 523 // static
524 Callable CodeFactory::ArrayEveryLoopContinuation(Isolate* isolate) { 524 Callable CodeFactory::ArrayEveryLoopContinuation(Isolate* isolate) {
525 return Callable(isolate->builtins()->ArrayEveryLoopContinuation(), 525 return Callable(isolate->builtins()->ArrayEveryLoopContinuation(),
526 IteratingArrayBuiltinLoopContinuationDescriptor(isolate)); 526 IteratingArrayBuiltinLoopContinuationDescriptor(isolate));
527 } 527 }
528 528
529 // static 529 // static
530 Callable CodeFactory::ArrayReduceLoopContinuation(Isolate* isolate) {
531 return Callable(isolate->builtins()->ArrayReduceLoopContinuation(),
532 IteratingArrayBuiltinLoopContinuationDescriptor(isolate));
533 }
534
535 // static
530 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) { 536 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) {
531 return Callable(isolate->builtins()->FunctionPrototypeBind(), 537 return Callable(isolate->builtins()->FunctionPrototypeBind(),
532 BuiltinDescriptor(isolate)); 538 BuiltinDescriptor(isolate));
533 } 539 }
534 540
535 } // namespace internal 541 } // namespace internal
536 } // namespace v8 542 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698