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

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

Issue 2312103002: [Turbofan] Fix CallSuper argument order in BytecodeGraphBuilder. (Closed)
Patch Set: Shorten test 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
« no previous file with comments | « src/compiler/bytecode-graph-builder.cc ('k') | src/interpreter/interpreter.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_H_ 5 #ifndef V8_INTERPRETER_INTERPRETER_H_
6 #define V8_INTERPRETER_INTERPRETER_H_ 6 #define V8_INTERPRETER_INTERPRETER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 // Clients of this interface shouldn't depend on lots of interpreter internals. 10 // Clients of this interface shouldn't depend on lots of interpreter internals.
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 // Generates code to perform a named property store via |ic|. 118 // Generates code to perform a named property store via |ic|.
119 void DoStoreIC(Callable ic, InterpreterAssembler* assembler); 119 void DoStoreIC(Callable ic, InterpreterAssembler* assembler);
120 120
121 // Generates code to perform a keyed property store via |ic|. 121 // Generates code to perform a keyed property store via |ic|.
122 void DoKeyedStoreIC(Callable ic, InterpreterAssembler* assembler); 122 void DoKeyedStoreIC(Callable ic, InterpreterAssembler* assembler);
123 123
124 // Generates code to perform a JS call that collects type feedback. 124 // Generates code to perform a JS call that collects type feedback.
125 void DoJSCall(InterpreterAssembler* assembler, TailCallMode tail_call_mode); 125 void DoJSCall(InterpreterAssembler* assembler, TailCallMode tail_call_mode);
126 126
127 // Generates code to perform a runtime call.
128 void DoCallRuntimeCommon(InterpreterAssembler* assembler);
129
130 // Generates code to perform a runtime call returning a pair.
131 void DoCallRuntimeForPairCommon(InterpreterAssembler* assembler);
132
133 // Generates code to perform a JS runtime call.
134 void DoCallJSRuntimeCommon(InterpreterAssembler* assembler);
135
136 // Generates code to perform a constructor call.
137 void DoCallConstruct(InterpreterAssembler* assembler);
138
139 // Generates code to perform delete via function_id. 127 // Generates code to perform delete via function_id.
140 void DoDelete(Runtime::FunctionId function_id, 128 void DoDelete(Runtime::FunctionId function_id,
141 InterpreterAssembler* assembler); 129 InterpreterAssembler* assembler);
142 130
143 // Generates code to perform a lookup slot load via |function_id|. 131 // Generates code to perform a lookup slot load via |function_id|.
144 void DoLdaLookupSlot(Runtime::FunctionId function_id, 132 void DoLdaLookupSlot(Runtime::FunctionId function_id,
145 InterpreterAssembler* assembler); 133 InterpreterAssembler* assembler);
146 134
147 // Generates code to perform a lookup slot store depending on |language_mode|. 135 // Generates code to perform a lookup slot store depending on |language_mode|.
148 void DoStaLookupSlot(LanguageMode language_mode, 136 void DoStaLookupSlot(LanguageMode language_mode,
149 InterpreterAssembler* assembler); 137 InterpreterAssembler* assembler);
150 138
151 // Generates a node with the undefined constant.
152 compiler::Node* BuildLoadUndefined(InterpreterAssembler* assembler);
153
154 // Generates code to load a context slot. 139 // Generates code to load a context slot.
155 compiler::Node* BuildLoadContextSlot(InterpreterAssembler* assembler); 140 compiler::Node* BuildLoadContextSlot(InterpreterAssembler* assembler);
156 141
157 // Generates code to load a global. 142 // Generates code to load a global.
158 compiler::Node* BuildLoadGlobal(Callable ic, InterpreterAssembler* assembler); 143 compiler::Node* BuildLoadGlobal(Callable ic, InterpreterAssembler* assembler);
159 144
160 // Generates code to load a named property. 145 // Generates code to load a named property.
161 compiler::Node* BuildLoadNamedProperty(Callable ic, 146 compiler::Node* BuildLoadNamedProperty(Callable ic,
162 InterpreterAssembler* assembler); 147 InterpreterAssembler* assembler);
163 148
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 std::unique_ptr<uintptr_t[]> bytecode_dispatch_counters_table_; 180 std::unique_ptr<uintptr_t[]> bytecode_dispatch_counters_table_;
196 181
197 DISALLOW_COPY_AND_ASSIGN(Interpreter); 182 DISALLOW_COPY_AND_ASSIGN(Interpreter);
198 }; 183 };
199 184
200 } // namespace interpreter 185 } // namespace interpreter
201 } // namespace internal 186 } // namespace internal
202 } // namespace v8 187 } // namespace v8
203 188
204 #endif // V8_INTERPRETER_INTERPRETER_H_ 189 #endif // V8_INTERPRETER_INTERPRETER_H_
OLDNEW
« no previous file with comments | « src/compiler/bytecode-graph-builder.cc ('k') | src/interpreter/interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698