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

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

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 unified diff | Download patch
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 compiler::Node* CallConstructWithSpread(compiler::Node* constructor,
rmcilroy 2017/01/11 15:24:45 Please add a comment.
petermarshall 2017/01/11 16:50:03 Done
146 compiler::Node* context,
147 compiler::Node* new_target,
148 compiler::Node* first_arg,
149 compiler::Node* arg_count);
150
145 // Call runtime function with |arg_count| arguments and the first argument 151 // Call runtime function with |arg_count| arguments and the first argument
146 // located at |first_arg|. 152 // located at |first_arg|.
147 compiler::Node* CallRuntimeN(compiler::Node* function_id, 153 compiler::Node* CallRuntimeN(compiler::Node* function_id,
148 compiler::Node* context, 154 compiler::Node* context,
149 compiler::Node* first_arg, 155 compiler::Node* first_arg,
150 compiler::Node* arg_count, int return_size = 1); 156 compiler::Node* arg_count, int return_size = 1);
151 157
152 // Jump relative to the current bytecode by |jump_offset|. 158 // Jump relative to the current bytecode by |jump_offset|.
153 compiler::Node* Jump(compiler::Node* jump_offset); 159 compiler::Node* Jump(compiler::Node* jump_offset);
154 160
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 compiler::Node* stack_pointer_before_call_; 318 compiler::Node* stack_pointer_before_call_;
313 319
314 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); 320 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler);
315 }; 321 };
316 322
317 } // namespace interpreter 323 } // namespace interpreter
318 } // namespace internal 324 } // namespace internal
319 } // namespace v8 325 } // namespace v8
320 326
321 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ 327 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698