| 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 JS call that collects type feedback. |
| 128 void DoJSCallN(InterpreterAssembler* assembler, int n); |
| 129 |
| 127 // Generates code to perform delete via function_id. | 130 // Generates code to perform delete via function_id. |
| 128 void DoDelete(Runtime::FunctionId function_id, | 131 void DoDelete(Runtime::FunctionId function_id, |
| 129 InterpreterAssembler* assembler); | 132 InterpreterAssembler* assembler); |
| 130 | 133 |
| 131 // Generates code to perform a lookup slot load via |function_id|. | 134 // Generates code to perform a lookup slot load via |function_id|. |
| 132 void DoLdaLookupSlot(Runtime::FunctionId function_id, | 135 void DoLdaLookupSlot(Runtime::FunctionId function_id, |
| 133 InterpreterAssembler* assembler); | 136 InterpreterAssembler* assembler); |
| 134 | 137 |
| 135 // Generates code to perform a lookup slot load via |function_id| that can | 138 // Generates code to perform a lookup slot load via |function_id| that can |
| 136 // fast path to a context slot load. | 139 // fast path to a context slot load. |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 std::unique_ptr<uintptr_t[]> bytecode_dispatch_counters_table_; | 187 std::unique_ptr<uintptr_t[]> bytecode_dispatch_counters_table_; |
| 185 | 188 |
| 186 DISALLOW_COPY_AND_ASSIGN(Interpreter); | 189 DISALLOW_COPY_AND_ASSIGN(Interpreter); |
| 187 }; | 190 }; |
| 188 | 191 |
| 189 } // namespace interpreter | 192 } // namespace interpreter |
| 190 } // namespace internal | 193 } // namespace internal |
| 191 } // namespace v8 | 194 } // namespace v8 |
| 192 | 195 |
| 193 #endif // V8_INTERPRETER_INTERPRETER_H_ | 196 #endif // V8_INTERPRETER_INTERPRETER_H_ |
| OLD | NEW |