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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 | 96 |
97 // Generates code to perform a runtime call. | 97 // Generates code to perform a runtime call. |
98 void DoCallRuntimeCommon(InterpreterAssembler* assembler); | 98 void DoCallRuntimeCommon(InterpreterAssembler* assembler); |
99 | 99 |
100 // Generates code to perform a runtime call returning a pair. | 100 // Generates code to perform a runtime call returning a pair. |
101 void DoCallRuntimeForPairCommon(InterpreterAssembler* assembler); | 101 void DoCallRuntimeForPairCommon(InterpreterAssembler* assembler); |
102 | 102 |
103 // Generates code to perform a JS runtime call. | 103 // Generates code to perform a JS runtime call. |
104 void DoCallJSRuntimeCommon(InterpreterAssembler* assembler); | 104 void DoCallJSRuntimeCommon(InterpreterAssembler* assembler); |
105 | 105 |
106 // Generates code to perform a constructor call.. | 106 // Generates code to perform a constructor call. |
107 void DoCallConstruct(InterpreterAssembler* assembler); | 107 void DoCallConstruct(InterpreterAssembler* assembler); |
108 | 108 |
| 109 // Generates code to perform a type conversion. |
| 110 void DoTypeConversionOp(Callable callable, InterpreterAssembler* assembler); |
| 111 |
109 // Generates code ro create a literal via |function_id|. | 112 // Generates code ro create a literal via |function_id|. |
110 void DoCreateLiteral(Runtime::FunctionId function_id, | 113 void DoCreateLiteral(Runtime::FunctionId function_id, |
111 InterpreterAssembler* assembler); | 114 InterpreterAssembler* assembler); |
112 | 115 |
113 // Generates code to perform delete via function_id. | 116 // Generates code to perform delete via function_id. |
114 void DoDelete(Runtime::FunctionId function_id, | 117 void DoDelete(Runtime::FunctionId function_id, |
115 InterpreterAssembler* assembler); | 118 InterpreterAssembler* assembler); |
116 | 119 |
117 // Generates code to perform a lookup slot load via |function_id|. | 120 // Generates code to perform a lookup slot load via |function_id|. |
118 void DoLoadLookupSlot(Runtime::FunctionId function_id, | 121 void DoLoadLookupSlot(Runtime::FunctionId function_id, |
(...skipping 11 matching lines...) Expand all Loading... |
130 Code* dispatch_table_[kDispatchTableSize]; | 133 Code* dispatch_table_[kDispatchTableSize]; |
131 | 134 |
132 DISALLOW_COPY_AND_ASSIGN(Interpreter); | 135 DISALLOW_COPY_AND_ASSIGN(Interpreter); |
133 }; | 136 }; |
134 | 137 |
135 } // namespace interpreter | 138 } // namespace interpreter |
136 } // namespace internal | 139 } // namespace internal |
137 } // namespace v8 | 140 } // namespace v8 |
138 | 141 |
139 #endif // V8_INTERPRETER_INTERPRETER_H_ | 142 #endif // V8_INTERPRETER_INTERPRETER_H_ |
OLD | NEW |