Chromium Code Reviews

Unified Diff: src/interpreter/bytecode-array-builder.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.
Jump to:
View side-by-side diff with in-line comments
Index: src/interpreter/bytecode-array-builder.cc
diff --git a/src/interpreter/bytecode-array-builder.cc b/src/interpreter/bytecode-array-builder.cc
index be4142bf1925e4564ac466bfc688efc9eefee8d4..2f4783db029fc3b3976639d31af26dc83a9c0c72 100644
--- a/src/interpreter/bytecode-array-builder.cc
+++ b/src/interpreter/bytecode-array-builder.cc
@@ -950,8 +950,9 @@ BytecodeArrayBuilder& BytecodeArrayBuilder::CallJSRuntime(int context_index,
return *this;
}
-BytecodeArrayBuilder& BytecodeArrayBuilder::NewWithSpread(RegisterList args) {
- OutputNewWithSpread(args, args.register_count());
+BytecodeArrayBuilder& BytecodeArrayBuilder::NewWithSpread(Register constructor,
+ RegisterList args) {
+ OutputNewWithSpread(constructor, args, args.register_count());
return *this;
}

Powered by Google App Engine