OLD | NEW |
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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 void DoLdaLookupGlobalSlot(Runtime::FunctionId function_id, | 134 void DoLdaLookupGlobalSlot(Runtime::FunctionId function_id, |
135 InterpreterAssembler* assembler); | 135 InterpreterAssembler* assembler); |
136 | 136 |
137 // Generates code to perform a lookup slot store depending on | 137 // Generates code to perform a lookup slot store depending on |
138 // |language_mode|. | 138 // |language_mode|. |
139 void DoStaLookupSlot(LanguageMode language_mode, | 139 void DoStaLookupSlot(LanguageMode language_mode, |
140 InterpreterAssembler* assembler); | 140 InterpreterAssembler* assembler); |
141 | 141 |
142 // Generates code to load a global. | 142 // Generates code to load a global. |
143 compiler::Node* BuildLoadGlobal(Callable ic, compiler::Node* context, | 143 compiler::Node* BuildLoadGlobal(Callable ic, compiler::Node* context, |
| 144 compiler::Node* name_index, |
144 compiler::Node* feedback_slot, | 145 compiler::Node* feedback_slot, |
145 InterpreterAssembler* assembler); | 146 InterpreterAssembler* assembler); |
146 | 147 |
147 // Generates code to prepare the result for ForInPrepare. Cache data | 148 // Generates code to prepare the result for ForInPrepare. Cache data |
148 // are placed into the consecutive series of registers starting at | 149 // are placed into the consecutive series of registers starting at |
149 // |output_register|. | 150 // |output_register|. |
150 void BuildForInPrepareResult(compiler::Node* output_register, | 151 void BuildForInPrepareResult(compiler::Node* output_register, |
151 compiler::Node* cache_type, | 152 compiler::Node* cache_type, |
152 compiler::Node* cache_array, | 153 compiler::Node* cache_array, |
153 compiler::Node* cache_length, | 154 compiler::Node* cache_length, |
(...skipping 21 matching lines...) Expand all Loading... |
175 std::unique_ptr<uintptr_t[]> bytecode_dispatch_counters_table_; | 176 std::unique_ptr<uintptr_t[]> bytecode_dispatch_counters_table_; |
176 | 177 |
177 DISALLOW_COPY_AND_ASSIGN(Interpreter); | 178 DISALLOW_COPY_AND_ASSIGN(Interpreter); |
178 }; | 179 }; |
179 | 180 |
180 } // namespace interpreter | 181 } // namespace interpreter |
181 } // namespace internal | 182 } // namespace internal |
182 } // namespace v8 | 183 } // namespace v8 |
183 | 184 |
184 #endif // V8_INTERPRETER_INTERPRETER_H_ | 185 #endif // V8_INTERPRETER_INTERPRETER_H_ |
OLD | NEW |