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

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

Issue 2571563004: [Turbofan] Implement super calls with spread bytecode in assembly code. (Closed)
Patch Set: Rebase on master Created 4 years 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 9
10 namespace v8 { 10 namespace v8 {
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 CallTrampolineDescriptor(isolate)); 449 CallTrampolineDescriptor(isolate));
450 } 450 }
451 451
452 // static 452 // static
453 Callable CodeFactory::Construct(Isolate* isolate) { 453 Callable CodeFactory::Construct(Isolate* isolate) {
454 return Callable(isolate->builtins()->Construct(), 454 return Callable(isolate->builtins()->Construct(),
455 ConstructTrampolineDescriptor(isolate)); 455 ConstructTrampolineDescriptor(isolate));
456 } 456 }
457 457
458 // static 458 // static
459 Callable CodeFactory::ConstructWithSpread(Isolate* isolate) {
460 return Callable(isolate->builtins()->ConstructWithSpread(),
461 ConstructTrampolineDescriptor(isolate));
462 }
463
464 // static
459 Callable CodeFactory::ConstructFunction(Isolate* isolate) { 465 Callable CodeFactory::ConstructFunction(Isolate* isolate) {
460 return Callable(isolate->builtins()->ConstructFunction(), 466 return Callable(isolate->builtins()->ConstructFunction(),
461 ConstructTrampolineDescriptor(isolate)); 467 ConstructTrampolineDescriptor(isolate));
462 } 468 }
463 469
464 // static 470 // static
465 Callable CodeFactory::InterpreterPushArgsAndCall(Isolate* isolate, 471 Callable CodeFactory::InterpreterPushArgsAndCall(Isolate* isolate,
466 TailCallMode tail_call_mode, 472 TailCallMode tail_call_mode,
467 CallableType function_type) { 473 CallableType function_type) {
468 return Callable(isolate->builtins()->InterpreterPushArgsAndCall( 474 return Callable(isolate->builtins()->InterpreterPushArgsAndCall(
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 } 510 }
505 511
506 // static 512 // static
507 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) { 513 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) {
508 return Callable(isolate->builtins()->FunctionPrototypeBind(), 514 return Callable(isolate->builtins()->FunctionPrototypeBind(),
509 BuiltinDescriptor(isolate)); 515 BuiltinDescriptor(isolate));
510 } 516 }
511 517
512 } // namespace internal 518 } // namespace internal
513 } // namespace v8 519 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698