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

Unified Diff: src/code-factory.cc

Issue 2571563004: [Turbofan] Implement super calls with spread bytecode in assembly code. (Closed)
Patch Set: MIPS64 port Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/code-factory.h ('k') | src/compiler/bytecode-graph-builder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-factory.cc
diff --git a/src/code-factory.cc b/src/code-factory.cc
index ab652964c65fdf5c43422c760318529aa075b53d..2c7dcef349a367464201c3aa12469c2f21b1f48b 100644
--- a/src/code-factory.cc
+++ b/src/code-factory.cc
@@ -466,6 +466,12 @@ Callable CodeFactory::Construct(Isolate* isolate) {
}
// static
+Callable CodeFactory::ConstructWithSpread(Isolate* isolate) {
+ return Callable(isolate->builtins()->ConstructWithSpread(),
+ ConstructTrampolineDescriptor(isolate));
+}
+
+// static
Callable CodeFactory::ConstructFunction(Isolate* isolate) {
return Callable(isolate->builtins()->ConstructFunction(),
ConstructTrampolineDescriptor(isolate));
@@ -482,10 +488,9 @@ Callable CodeFactory::InterpreterPushArgsAndCall(Isolate* isolate,
// static
Callable CodeFactory::InterpreterPushArgsAndConstruct(
- Isolate* isolate, CallableType function_type) {
- return Callable(
- isolate->builtins()->InterpreterPushArgsAndConstruct(function_type),
- InterpreterPushArgsAndConstructDescriptor(isolate));
+ Isolate* isolate, PushArgsConstructMode mode) {
+ return Callable(isolate->builtins()->InterpreterPushArgsAndConstruct(mode),
+ InterpreterPushArgsAndConstructDescriptor(isolate));
}
// static
« no previous file with comments | « src/code-factory.h ('k') | src/compiler/bytecode-graph-builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698