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

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

Issue 1688283003: [Interpreter] Implements calls through CallICStub in the interpreter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: removes an unused label declaration. Created 4 years, 10 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.h" 10 #include "src/builtins.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 // Load the TypeFeedbackVector for the current function. 80 // Load the TypeFeedbackVector for the current function.
81 compiler::Node* LoadTypeFeedbackVector(); 81 compiler::Node* LoadTypeFeedbackVector();
82 82
83 // Call JSFunction or Callable |function| with |arg_count| 83 // Call JSFunction or Callable |function| with |arg_count|
84 // arguments (not including receiver) and the first argument 84 // arguments (not including receiver) and the first argument
85 // located at |first_arg|. 85 // located at |first_arg|.
86 compiler::Node* CallJS(compiler::Node* function, compiler::Node* context, 86 compiler::Node* CallJS(compiler::Node* function, compiler::Node* context,
87 compiler::Node* first_arg, compiler::Node* arg_count, 87 compiler::Node* first_arg, compiler::Node* arg_count,
88 TailCallMode tail_call_mode); 88 TailCallMode tail_call_mode);
89 89
90 // Call JSFunction or Callable |function| with |arg_count|
91 // arguments (not including receiver) and the first argument
92 // located at |first_arg| with feedback slot id |slot_id| and
93 // type feedback vector |type_feedback_vector|.
94 compiler::Node* CallJSWithFeedback(compiler::Node* function,
95 compiler::Node* context,
96 compiler::Node* first_arg,
97 compiler::Node* arg_count,
98 compiler::Node* slot_id,
99 compiler::Node* type_feedback_vector,
100 TailCallMode tail_call_mode);
101
90 // Call constructor |constructor| with |arg_count| arguments (not 102 // Call constructor |constructor| with |arg_count| arguments (not
91 // including receiver) and the first argument located at 103 // including receiver) and the first argument located at
92 // |first_arg|. The |new_target| is the same as the 104 // |first_arg|. The |new_target| is the same as the
93 // |constructor| for the new keyword, but differs for the super 105 // |constructor| for the new keyword, but differs for the super
94 // keyword. 106 // keyword.
95 compiler::Node* CallConstruct(compiler::Node* constructor, 107 compiler::Node* CallConstruct(compiler::Node* constructor,
96 compiler::Node* context, 108 compiler::Node* context,
97 compiler::Node* new_target, 109 compiler::Node* new_target,
98 compiler::Node* first_arg, 110 compiler::Node* first_arg,
99 compiler::Node* arg_count); 111 compiler::Node* arg_count);
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 compiler::Node* stack_pointer_before_call_; 201 compiler::Node* stack_pointer_before_call_;
190 202
191 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); 203 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler);
192 }; 204 };
193 205
194 } // namespace interpreter 206 } // namespace interpreter
195 } // namespace internal 207 } // namespace internal
196 } // namespace v8 208 } // namespace v8
197 209
198 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ 210 #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