| 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 // Clients of this interface shouldn't depend on lots of interpreter internals. | 8 // Clients of this interface shouldn't depend on lots of interpreter internals. |
| 9 // Do not include anything from src/interpreter other than | 9 // Do not include anything from src/interpreter other than |
| 10 // src/interpreter/bytecodes.h here! | 10 // src/interpreter/bytecodes.h here! |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 | 112 |
| 113 // Generates code to perform a JS runtime call. | 113 // Generates code to perform a JS runtime call. |
| 114 void DoCallJSRuntimeCommon(InterpreterAssembler* assembler); | 114 void DoCallJSRuntimeCommon(InterpreterAssembler* assembler); |
| 115 | 115 |
| 116 // Generates code to perform a constructor call. | 116 // Generates code to perform a constructor call. |
| 117 void DoCallConstruct(InterpreterAssembler* assembler); | 117 void DoCallConstruct(InterpreterAssembler* assembler); |
| 118 | 118 |
| 119 // Generates code to perform a type conversion. | 119 // Generates code to perform a type conversion. |
| 120 void DoTypeConversionOp(Callable callable, InterpreterAssembler* assembler); | 120 void DoTypeConversionOp(Callable callable, InterpreterAssembler* assembler); |
| 121 | 121 |
| 122 // Generates code to create a literal via |function_id|. | |
| 123 void DoCreateLiteral(Runtime::FunctionId function_id, | |
| 124 InterpreterAssembler* assembler); | |
| 125 | |
| 126 // Generates code to perform delete via function_id. | 122 // Generates code to perform delete via function_id. |
| 127 void DoDelete(Runtime::FunctionId function_id, | 123 void DoDelete(Runtime::FunctionId function_id, |
| 128 InterpreterAssembler* assembler); | 124 InterpreterAssembler* assembler); |
| 129 | 125 |
| 130 // Generates code to perform a lookup slot load via |function_id|. | 126 // Generates code to perform a lookup slot load via |function_id|. |
| 131 void DoLoadLookupSlot(Runtime::FunctionId function_id, | 127 void DoLoadLookupSlot(Runtime::FunctionId function_id, |
| 132 InterpreterAssembler* assembler); | 128 InterpreterAssembler* assembler); |
| 133 | 129 |
| 134 // Generates code to perform a lookup slot store depending on |language_mode|. | 130 // Generates code to perform a lookup slot store depending on |language_mode|. |
| 135 void DoStoreLookupSlot(LanguageMode language_mode, | 131 void DoStoreLookupSlot(LanguageMode language_mode, |
| (...skipping 16 matching lines...) Expand all Loading... |
| 152 v8::base::SmartArrayPointer<uintptr_t> bytecode_dispatch_counters_table_; | 148 v8::base::SmartArrayPointer<uintptr_t> bytecode_dispatch_counters_table_; |
| 153 | 149 |
| 154 DISALLOW_COPY_AND_ASSIGN(Interpreter); | 150 DISALLOW_COPY_AND_ASSIGN(Interpreter); |
| 155 }; | 151 }; |
| 156 | 152 |
| 157 } // namespace interpreter | 153 } // namespace interpreter |
| 158 } // namespace internal | 154 } // namespace internal |
| 159 } // namespace v8 | 155 } // namespace v8 |
| 160 | 156 |
| 161 #endif // V8_INTERPRETER_INTERPRETER_H_ | 157 #endif // V8_INTERPRETER_INTERPRETER_H_ |
| OLD | NEW |