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

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

Issue 2153433002: [Interpreter] Collect type feedback for 'new' in the bytecode handler (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase. Created 4 years, 5 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/base/smart-pointers.h" 9 #include "src/base/smart-pointers.h"
10 #include "src/builtins/builtins.h" 10 #include "src/builtins/builtins.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 // Call constructor |constructor| with |arg_count| arguments (not 112 // Call constructor |constructor| with |arg_count| arguments (not
113 // including receiver) and the first argument located at 113 // including receiver) and the first argument located at
114 // |first_arg|. The |new_target| is the same as the 114 // |first_arg|. The |new_target| is the same as the
115 // |constructor| for the new keyword, but differs for the super 115 // |constructor| for the new keyword, but differs for the super
116 // keyword. 116 // keyword.
117 compiler::Node* CallConstruct(compiler::Node* constructor, 117 compiler::Node* CallConstruct(compiler::Node* constructor,
118 compiler::Node* context, 118 compiler::Node* context,
119 compiler::Node* new_target, 119 compiler::Node* new_target,
120 compiler::Node* first_arg, 120 compiler::Node* first_arg,
121 compiler::Node* arg_count); 121 compiler::Node* arg_count,
122 compiler::Node* slot_id,
123 compiler::Node* type_feedback_vector);
122 124
123 // Call runtime function with |arg_count| arguments and the first argument 125 // Call runtime function with |arg_count| arguments and the first argument
124 // located at |first_arg|. 126 // located at |first_arg|.
125 compiler::Node* CallRuntimeN(compiler::Node* function_id, 127 compiler::Node* CallRuntimeN(compiler::Node* function_id,
126 compiler::Node* context, 128 compiler::Node* context,
127 compiler::Node* first_arg, 129 compiler::Node* first_arg,
128 compiler::Node* arg_count, int return_size = 1); 130 compiler::Node* arg_count, int return_size = 1);
129 131
130 // Jump relative to the current bytecode by |jump_offset|. 132 // Jump relative to the current bytecode by |jump_offset|.
131 compiler::Node* Jump(compiler::Node* jump_offset); 133 compiler::Node* Jump(compiler::Node* jump_offset);
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 compiler::Node* stack_pointer_before_call_; 262 compiler::Node* stack_pointer_before_call_;
261 263
262 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); 264 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler);
263 }; 265 };
264 266
265 } // namespace interpreter 267 } // namespace interpreter
266 } // namespace internal 268 } // namespace internal
267 } // namespace v8 269 } // namespace v8
268 270
269 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ 271 #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