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

Unified Diff: src/interpreter/interpreter-assembler.h

Issue 2571563004: [Turbofan] Implement super calls with spread bytecode in assembly code. (Closed)
Patch Set: Update builtins for new push args modes 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/interpreter/interpreter-assembler.h
diff --git a/src/interpreter/interpreter-assembler.h b/src/interpreter/interpreter-assembler.h
index 5183f3efedfb4673bbfddec625873cb5f2bd7f33..1459c73c73613073e9adef91c94922f41408b589 100644
--- a/src/interpreter/interpreter-assembler.h
+++ b/src/interpreter/interpreter-assembler.h
@@ -142,6 +142,16 @@ class V8_EXPORT_PRIVATE InterpreterAssembler : public CodeStubAssembler {
compiler::Node* slot_id,
compiler::Node* type_feedback_vector);
+ // Call constructor |constructor| with |arg_count| arguments (not including
+ // receiver) and the first argument located at |first_arg|. The last argument
+ // is always a spread. The |new_target| is the same as the |constructor| for
+ // the new keyword, but differs for the super keyword.
+ compiler::Node* CallConstructWithSpread(compiler::Node* constructor,
+ compiler::Node* context,
+ compiler::Node* new_target,
+ compiler::Node* first_arg,
+ compiler::Node* arg_count);
+
// Call runtime function with |arg_count| arguments and the first argument
// located at |first_arg|.
compiler::Node* CallRuntimeN(compiler::Node* function_id,

Powered by Google App Engine
This is Rietveld 408576698