OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_CODE_FACTORY_H_ | 5 #ifndef V8_CODE_FACTORY_H_ |
6 #define V8_CODE_FACTORY_H_ | 6 #define V8_CODE_FACTORY_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/assembler.h" | 9 #include "src/assembler.h" |
10 #include "src/codegen.h" | 10 #include "src/codegen.h" |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 #undef SIMD128_ALLOC | 160 #undef SIMD128_ALLOC |
161 | 161 |
162 static Callable ArgumentAdaptor(Isolate* isolate); | 162 static Callable ArgumentAdaptor(Isolate* isolate); |
163 static Callable Call(Isolate* isolate, | 163 static Callable Call(Isolate* isolate, |
164 ConvertReceiverMode mode = ConvertReceiverMode::kAny, | 164 ConvertReceiverMode mode = ConvertReceiverMode::kAny, |
165 TailCallMode tail_call_mode = TailCallMode::kDisallow); | 165 TailCallMode tail_call_mode = TailCallMode::kDisallow); |
166 static Callable CallFunction( | 166 static Callable CallFunction( |
167 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny); | 167 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny); |
168 static Callable Construct(Isolate* isolate); | 168 static Callable Construct(Isolate* isolate); |
169 static Callable ConstructFunction(Isolate* isolate); | 169 static Callable ConstructFunction(Isolate* isolate); |
| 170 static Callable CreateIterResultObject(Isolate* isolate); |
170 static Callable HasProperty(Isolate* isolate); | 171 static Callable HasProperty(Isolate* isolate); |
171 static Callable ForInFilter(Isolate* isolate); | 172 static Callable ForInFilter(Isolate* isolate); |
172 | 173 |
173 static Callable InterpreterPushArgsAndCall( | 174 static Callable InterpreterPushArgsAndCall( |
174 Isolate* isolate, TailCallMode tail_call_mode, | 175 Isolate* isolate, TailCallMode tail_call_mode, |
175 CallableType function_type = CallableType::kAny); | 176 CallableType function_type = CallableType::kAny); |
176 static Callable InterpreterPushArgsAndConstruct( | 177 static Callable InterpreterPushArgsAndConstruct( |
177 Isolate* isolate, CallableType function_type = CallableType::kAny); | 178 Isolate* isolate, CallableType function_type = CallableType::kAny); |
178 static Callable InterpreterPushArgsAndConstructArray(Isolate* isolate); | 179 static Callable InterpreterPushArgsAndConstructArray(Isolate* isolate); |
179 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); | 180 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); |
180 static Callable InterpreterOnStackReplacement(Isolate* isolate); | 181 static Callable InterpreterOnStackReplacement(Isolate* isolate); |
181 | 182 |
182 static Callable ArrayPush(Isolate* isolate); | 183 static Callable ArrayPush(Isolate* isolate); |
183 static Callable FunctionPrototypeBind(Isolate* isolate); | 184 static Callable FunctionPrototypeBind(Isolate* isolate); |
184 static Callable PromiseHandleReject(Isolate* isolate); | 185 static Callable PromiseHandleReject(Isolate* isolate); |
185 }; | 186 }; |
186 | 187 |
187 } // namespace internal | 188 } // namespace internal |
188 } // namespace v8 | 189 } // namespace v8 |
189 | 190 |
190 #endif // V8_CODE_FACTORY_H_ | 191 #endif // V8_CODE_FACTORY_H_ |
OLD | NEW |