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.h

Issue 2485383002: [Interpreter] Remove Ldr[Named/Keyed]Property bytecodes and use Star Lookahead instead. (Closed)
Patch Set: Created 4 years, 1 month 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/bytecodes.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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 compiler::Node* BuildLoadContextSlot(InterpreterAssembler* assembler); 143 compiler::Node* BuildLoadContextSlot(InterpreterAssembler* assembler);
144 144
145 // Generates code to load a slot in the current context. 145 // Generates code to load a slot in the current context.
146 compiler::Node* BuildLoadCurrentContextSlot(InterpreterAssembler* assembler); 146 compiler::Node* BuildLoadCurrentContextSlot(InterpreterAssembler* assembler);
147 147
148 // Generates code to load a global. 148 // Generates code to load a global.
149 compiler::Node* BuildLoadGlobal(Callable ic, compiler::Node* context, 149 compiler::Node* BuildLoadGlobal(Callable ic, compiler::Node* context,
150 compiler::Node* feedback_slot, 150 compiler::Node* feedback_slot,
151 InterpreterAssembler* assembler); 151 InterpreterAssembler* assembler);
152 152
153 // Generates code to load a named property.
154 compiler::Node* BuildLoadNamedProperty(Callable ic,
155 InterpreterAssembler* assembler);
156
157 // Generates code to load a keyed property.
158 compiler::Node* BuildLoadKeyedProperty(Callable ic,
159 InterpreterAssembler* assembler);
160
161 // Generates code to prepare the result for ForInPrepare. Cache data 153 // Generates code to prepare the result for ForInPrepare. Cache data
162 // are placed into the consecutive series of registers starting at 154 // are placed into the consecutive series of registers starting at
163 // |output_register|. 155 // |output_register|.
164 void BuildForInPrepareResult(compiler::Node* output_register, 156 void BuildForInPrepareResult(compiler::Node* output_register,
165 compiler::Node* cache_type, 157 compiler::Node* cache_type,
166 compiler::Node* cache_array, 158 compiler::Node* cache_array,
167 compiler::Node* cache_length, 159 compiler::Node* cache_length,
168 InterpreterAssembler* assembler); 160 InterpreterAssembler* assembler);
169 161
170 // Generates code to perform the unary operation via |callable|. 162 // Generates code to perform the unary operation via |callable|.
(...skipping 18 matching lines...) Expand all
189 std::unique_ptr<uintptr_t[]> bytecode_dispatch_counters_table_; 181 std::unique_ptr<uintptr_t[]> bytecode_dispatch_counters_table_;
190 182
191 DISALLOW_COPY_AND_ASSIGN(Interpreter); 183 DISALLOW_COPY_AND_ASSIGN(Interpreter);
192 }; 184 };
193 185
194 } // namespace interpreter 186 } // namespace interpreter
195 } // namespace internal 187 } // namespace internal
196 } // namespace v8 188 } // namespace v8
197 189
198 #endif // V8_INTERPRETER_INTERPRETER_H_ 190 #endif // V8_INTERPRETER_INTERPRETER_H_
OLDNEW
« no previous file with comments | « src/interpreter/bytecodes.cc ('k') | src/interpreter/interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698