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

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

Issue 1922523002: [Interpreter] Use FastCloneShallowObjectStub in CreateObjectLiteral bytecode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address Toon's comments Created 4 years, 7 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
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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 120
121 // Generates code to perform a JS runtime call. 121 // Generates code to perform a JS runtime call.
122 void DoCallJSRuntimeCommon(InterpreterAssembler* assembler); 122 void DoCallJSRuntimeCommon(InterpreterAssembler* assembler);
123 123
124 // Generates code to perform a constructor call. 124 // Generates code to perform a constructor call.
125 void DoCallConstruct(InterpreterAssembler* assembler); 125 void DoCallConstruct(InterpreterAssembler* assembler);
126 126
127 // Generates code to perform a type conversion. 127 // Generates code to perform a type conversion.
128 void DoTypeConversionOp(Callable callable, InterpreterAssembler* assembler); 128 void DoTypeConversionOp(Callable callable, InterpreterAssembler* assembler);
129 129
130 // Generates code to create a literal via |function_id|.
131 void DoCreateLiteral(Runtime::FunctionId function_id,
132 InterpreterAssembler* assembler);
133
134 // Generates code to perform delete via function_id. 130 // Generates code to perform delete via function_id.
135 void DoDelete(Runtime::FunctionId function_id, 131 void DoDelete(Runtime::FunctionId function_id,
136 InterpreterAssembler* assembler); 132 InterpreterAssembler* assembler);
137 133
138 // Generates code to perform a lookup slot load via |function_id|. 134 // Generates code to perform a lookup slot load via |function_id|.
139 void DoLoadLookupSlot(Runtime::FunctionId function_id, 135 void DoLoadLookupSlot(Runtime::FunctionId function_id,
140 InterpreterAssembler* assembler); 136 InterpreterAssembler* assembler);
141 137
142 // Generates code to perform a lookup slot store depending on |language_mode|. 138 // Generates code to perform a lookup slot store depending on |language_mode|.
143 void DoStoreLookupSlot(LanguageMode language_mode, 139 void DoStoreLookupSlot(LanguageMode language_mode,
(...skipping 13 matching lines...) Expand all
157 v8::base::SmartArrayPointer<uintptr_t> bytecode_dispatch_count_table_; 153 v8::base::SmartArrayPointer<uintptr_t> bytecode_dispatch_count_table_;
158 154
159 DISALLOW_COPY_AND_ASSIGN(Interpreter); 155 DISALLOW_COPY_AND_ASSIGN(Interpreter);
160 }; 156 };
161 157
162 } // namespace interpreter 158 } // namespace interpreter
163 } // namespace internal 159 } // namespace internal
164 } // namespace v8 160 } // namespace v8
165 161
166 #endif // V8_INTERPRETER_INTERPRETER_H_ 162 #endif // V8_INTERPRETER_INTERPRETER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698