OLD | NEW |
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 Loading... |
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 |
OLD | NEW |