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/builtins/builtins-descriptors.h" | 8 #include "src/builtins/builtins-descriptors.h" |
9 #include "src/ic/ic.h" | 9 #include "src/ic/ic.h" |
10 #include "src/objects-inl.h" | 10 #include "src/objects-inl.h" |
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
506 IteratingArrayBuiltinLoopContinuationDescriptor(isolate)); | 506 IteratingArrayBuiltinLoopContinuationDescriptor(isolate)); |
507 } | 507 } |
508 | 508 |
509 // static | 509 // static |
510 Callable CodeFactory::ArrayEveryLoopContinuation(Isolate* isolate) { | 510 Callable CodeFactory::ArrayEveryLoopContinuation(Isolate* isolate) { |
511 return Callable(isolate->builtins()->ArrayEveryLoopContinuation(), | 511 return Callable(isolate->builtins()->ArrayEveryLoopContinuation(), |
512 IteratingArrayBuiltinLoopContinuationDescriptor(isolate)); | 512 IteratingArrayBuiltinLoopContinuationDescriptor(isolate)); |
513 } | 513 } |
514 | 514 |
515 // static | 515 // static |
| 516 Callable CodeFactory::ArrayReduceLoopContinuation(Isolate* isolate) { |
| 517 return Callable(isolate->builtins()->ArrayReduceLoopContinuation(), |
| 518 IteratingArrayBuiltinLoopContinuationDescriptor(isolate)); |
| 519 } |
| 520 |
| 521 // static |
516 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) { | 522 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) { |
517 return Callable(isolate->builtins()->FunctionPrototypeBind(), | 523 return Callable(isolate->builtins()->FunctionPrototypeBind(), |
518 BuiltinDescriptor(isolate)); | 524 BuiltinDescriptor(isolate)); |
519 } | 525 } |
520 | 526 |
521 } // namespace internal | 527 } // namespace internal |
522 } // namespace v8 | 528 } // namespace v8 |
OLD | NEW |