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

Unified Diff: src/code-factory.cc

Issue 2571563004: [Turbofan] Implement super calls with spread bytecode in assembly code. (Closed)
Patch Set: Change arm64 loop to be similar to the rest 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
Index: src/code-factory.cc
diff --git a/src/code-factory.cc b/src/code-factory.cc
index 7c6a3363197f9adf2dbcc4d8cea0e13f3ed09b82..fdc303ff4c71897250f28c801cbf18b783c14c6b 100644
--- a/src/code-factory.cc
+++ b/src/code-factory.cc
@@ -465,6 +465,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));
@@ -494,6 +500,14 @@ Callable CodeFactory::InterpreterPushArgsAndConstructArray(Isolate* isolate) {
}
// static
+Callable CodeFactory::InterpreterPushArgsAndConstructWithSpread(
+ Isolate* isolate) {
+ return Callable(
+ isolate->builtins()->InterpreterPushArgsAndConstructWithSpread(),
+ InterpreterPushArgsAndConstructDescriptor(isolate));
+}
+
+// static
Callable CodeFactory::InterpreterCEntry(Isolate* isolate, int result_size) {
// Note: If we ever use fpregs in the interpreter then we will need to
// save fpregs too.

Powered by Google App Engine
This is Rietveld 408576698