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 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
438 return Callable(isolate->builtins()->CallForwardVarargs(), | 438 return Callable(isolate->builtins()->CallForwardVarargs(), |
439 CallForwardVarargsDescriptor(isolate)); | 439 CallForwardVarargsDescriptor(isolate)); |
440 } | 440 } |
441 | 441 |
442 // static | 442 // static |
443 Callable CodeFactory::CallFunctionForwardVarargs(Isolate* isolate) { | 443 Callable CodeFactory::CallFunctionForwardVarargs(Isolate* isolate) { |
444 return Callable(isolate->builtins()->CallFunctionForwardVarargs(), | 444 return Callable(isolate->builtins()->CallFunctionForwardVarargs(), |
445 CallForwardVarargsDescriptor(isolate)); | 445 CallForwardVarargsDescriptor(isolate)); |
446 } | 446 } |
447 | 447 |
448 Callable CodeFactory::ConsoleAssert(Isolate* isolate) { | |
Igor Sheludko
2017/04/20 10:18:42
Same here.
| |
449 return Callable(isolate->builtins()->ConsoleAssert(), | |
450 ConstructTrampolineDescriptor(isolate)); | |
451 } | |
452 | |
448 // static | 453 // static |
449 Callable CodeFactory::Construct(Isolate* isolate) { | 454 Callable CodeFactory::Construct(Isolate* isolate) { |
450 return Callable(isolate->builtins()->Construct(), | 455 return Callable(isolate->builtins()->Construct(), |
451 ConstructTrampolineDescriptor(isolate)); | 456 ConstructTrampolineDescriptor(isolate)); |
452 } | 457 } |
453 | 458 |
454 // static | 459 // static |
455 Callable CodeFactory::ConstructWithSpread(Isolate* isolate) { | 460 Callable CodeFactory::ConstructWithSpread(Isolate* isolate) { |
456 return Callable(isolate->builtins()->ConstructWithSpread(), | 461 return Callable(isolate->builtins()->ConstructWithSpread(), |
457 ConstructTrampolineDescriptor(isolate)); | 462 ConstructTrampolineDescriptor(isolate)); |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
553 } | 558 } |
554 | 559 |
555 // static | 560 // static |
556 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) { | 561 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) { |
557 return Callable(isolate->builtins()->FunctionPrototypeBind(), | 562 return Callable(isolate->builtins()->FunctionPrototypeBind(), |
558 BuiltinDescriptor(isolate)); | 563 BuiltinDescriptor(isolate)); |
559 } | 564 } |
560 | 565 |
561 } // namespace internal | 566 } // namespace internal |
562 } // namespace v8 | 567 } // namespace v8 |
OLD | NEW |