Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1705)

Side by Side Diff: src/interpreter/interpreter.h

Issue 1736643003: [Interpreter] Use existing type conversion stubs. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 months 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 | « no previous file | 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 // 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
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
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_
OLDNEW
« no previous file with comments | « no previous file | src/interpreter/interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698