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

Side by Side Diff: src/interpreter/interpreter-assembler.h

Issue 2649143002: [Turbofan] Implement call with spread bytecode in assembly code. (Closed)
Patch Set: Rename PushArgsMode to InterpreterPushArgsMode 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 unified diff | Download patch
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | src/interpreter/interpreter-assembler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 #ifndef V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ 5 #ifndef V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_
6 #define V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ 6 #define V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/builtins/builtins.h" 9 #include "src/builtins/builtins.h"
10 #include "src/code-stub-assembler.h" 10 #include "src/code-stub-assembler.h"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 compiler::Node* type_feedback_vector, 122 compiler::Node* type_feedback_vector,
123 TailCallMode tail_call_mode); 123 TailCallMode tail_call_mode);
124 124
125 // Call JSFunction or Callable |function| with |arg_count| 125 // Call JSFunction or Callable |function| with |arg_count|
126 // arguments (not including receiver) and the first argument 126 // arguments (not including receiver) and the first argument
127 // located at |first_arg|. 127 // located at |first_arg|.
128 compiler::Node* CallJS(compiler::Node* function, compiler::Node* context, 128 compiler::Node* CallJS(compiler::Node* function, compiler::Node* context,
129 compiler::Node* first_arg, compiler::Node* arg_count, 129 compiler::Node* first_arg, compiler::Node* arg_count,
130 TailCallMode tail_call_mode); 130 TailCallMode tail_call_mode);
131 131
132 // Call JSFunction or Callable |function| with |arg_count|
133 // arguments (not including receiver) and the first argument
134 // located at |first_arg|.
135 compiler::Node* CallJSWithSpread(compiler::Node* function,
136 compiler::Node* context,
137 compiler::Node* first_arg,
138 compiler::Node* arg_count);
139
132 // Call constructor |constructor| with |arg_count| arguments (not 140 // Call constructor |constructor| with |arg_count| arguments (not
133 // including receiver) and the first argument located at 141 // including receiver) and the first argument located at
134 // |first_arg|. The |new_target| is the same as the 142 // |first_arg|. The |new_target| is the same as the
135 // |constructor| for the new keyword, but differs for the super 143 // |constructor| for the new keyword, but differs for the super
136 // keyword. 144 // keyword.
137 compiler::Node* CallConstruct(compiler::Node* constructor, 145 compiler::Node* CallConstruct(compiler::Node* constructor,
138 compiler::Node* context, 146 compiler::Node* context,
139 compiler::Node* new_target, 147 compiler::Node* new_target,
140 compiler::Node* first_arg, 148 compiler::Node* first_arg,
141 compiler::Node* arg_count, 149 compiler::Node* arg_count,
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 compiler::Node* stack_pointer_before_call_; 330 compiler::Node* stack_pointer_before_call_;
323 331
324 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); 332 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler);
325 }; 333 };
326 334
327 } // namespace interpreter 335 } // namespace interpreter
328 } // namespace internal 336 } // namespace internal
329 } // namespace v8 337 } // namespace v8
330 338
331 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ 339 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | src/interpreter/interpreter-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698