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

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

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 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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 // |constructor| for the new keyword, but differs for the super 135 // |constructor| for the new keyword, but differs for the super
136 // keyword. 136 // keyword.
137 compiler::Node* CallConstruct(compiler::Node* constructor, 137 compiler::Node* CallConstruct(compiler::Node* constructor,
138 compiler::Node* context, 138 compiler::Node* context,
139 compiler::Node* new_target, 139 compiler::Node* new_target,
140 compiler::Node* first_arg, 140 compiler::Node* first_arg,
141 compiler::Node* arg_count, 141 compiler::Node* arg_count,
142 compiler::Node* slot_id, 142 compiler::Node* slot_id,
143 compiler::Node* type_feedback_vector); 143 compiler::Node* type_feedback_vector);
144 144
145 // Call constructor |constructor| with |arg_count| arguments (not including
146 // receiver) and the first argument located at |first_arg|. The last argument
147 // is always a spread. The |new_target| is the same as the |constructor| for
148 // the new keyword, but differs for the super keyword.
149 compiler::Node* CallConstructWithSpread(compiler::Node* constructor,
150 compiler::Node* context,
151 compiler::Node* new_target,
152 compiler::Node* first_arg,
153 compiler::Node* arg_count);
154
145 // Call runtime function with |arg_count| arguments and the first argument 155 // Call runtime function with |arg_count| arguments and the first argument
146 // located at |first_arg|. 156 // located at |first_arg|.
147 compiler::Node* CallRuntimeN(compiler::Node* function_id, 157 compiler::Node* CallRuntimeN(compiler::Node* function_id,
148 compiler::Node* context, 158 compiler::Node* context,
149 compiler::Node* first_arg, 159 compiler::Node* first_arg,
150 compiler::Node* arg_count, int return_size = 1); 160 compiler::Node* arg_count, int return_size = 1);
151 161
152 // Jump relative to the current bytecode by |jump_offset|. 162 // Jump relative to the current bytecode by |jump_offset|.
153 compiler::Node* Jump(compiler::Node* jump_offset); 163 compiler::Node* Jump(compiler::Node* jump_offset);
154 164
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 compiler::Node* stack_pointer_before_call_; 322 compiler::Node* stack_pointer_before_call_;
313 323
314 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); 324 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler);
315 }; 325 };
316 326
317 } // namespace interpreter 327 } // namespace interpreter
318 } // namespace internal 328 } // namespace internal
319 } // namespace v8 329 } // namespace v8
320 330
321 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ 331 #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