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

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

Issue 2225923003: [Interpreter] Collect type feedback for 'new' in the bytecode handler (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updated mjsunit.status Created 4 years, 3 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 113
114 // Call constructor |constructor| with |arg_count| arguments (not 114 // Call constructor |constructor| with |arg_count| arguments (not
115 // including receiver) and the first argument located at 115 // including receiver) and the first argument located at
116 // |first_arg|. The |new_target| is the same as the 116 // |first_arg|. The |new_target| is the same as the
117 // |constructor| for the new keyword, but differs for the super 117 // |constructor| for the new keyword, but differs for the super
118 // keyword. 118 // keyword.
119 compiler::Node* CallConstruct(compiler::Node* constructor, 119 compiler::Node* CallConstruct(compiler::Node* constructor,
120 compiler::Node* context, 120 compiler::Node* context,
121 compiler::Node* new_target, 121 compiler::Node* new_target,
122 compiler::Node* first_arg, 122 compiler::Node* first_arg,
123 compiler::Node* arg_count); 123 compiler::Node* arg_count,
124 compiler::Node* slot_id,
125 compiler::Node* type_feedback_vector);
124 126
125 // Call runtime function with |arg_count| arguments and the first argument 127 // Call runtime function with |arg_count| arguments and the first argument
126 // located at |first_arg|. 128 // located at |first_arg|.
127 compiler::Node* CallRuntimeN(compiler::Node* function_id, 129 compiler::Node* CallRuntimeN(compiler::Node* function_id,
128 compiler::Node* context, 130 compiler::Node* context,
129 compiler::Node* first_arg, 131 compiler::Node* first_arg,
130 compiler::Node* arg_count, int return_size = 1); 132 compiler::Node* arg_count, int return_size = 1);
131 133
132 // Jump relative to the current bytecode by |jump_offset|. 134 // Jump relative to the current bytecode by |jump_offset|.
133 compiler::Node* Jump(compiler::Node* jump_offset); 135 compiler::Node* Jump(compiler::Node* jump_offset);
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 compiler::Node* stack_pointer_before_call_; 291 compiler::Node* stack_pointer_before_call_;
290 292
291 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); 293 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler);
292 }; 294 };
293 295
294 } // namespace interpreter 296 } // namespace interpreter
295 } // namespace internal 297 } // namespace internal
296 } // namespace v8 298 } // namespace v8
297 299
298 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ 300 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698