| 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 SIMD128_TYPES(SIMD128_ALLOC) | 159 SIMD128_TYPES(SIMD128_ALLOC) |
| 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 ConstructWithSpread(Isolate* isolate); |
| 169 static Callable ConstructFunction(Isolate* isolate); | 170 static Callable ConstructFunction(Isolate* isolate); |
| 170 static Callable CreateIterResultObject(Isolate* isolate); | 171 static Callable CreateIterResultObject(Isolate* isolate); |
| 171 static Callable HasProperty(Isolate* isolate); | 172 static Callable HasProperty(Isolate* isolate); |
| 172 static Callable ForInFilter(Isolate* isolate); | 173 static Callable ForInFilter(Isolate* isolate); |
| 173 | 174 |
| 174 static Callable InterpreterPushArgsAndCall( | 175 static Callable InterpreterPushArgsAndCall( |
| 175 Isolate* isolate, TailCallMode tail_call_mode, | 176 Isolate* isolate, TailCallMode tail_call_mode, |
| 176 CallableType function_type = CallableType::kAny); | 177 CallableType function_type = CallableType::kAny); |
| 177 static Callable InterpreterPushArgsAndConstruct( | 178 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate, |
| 178 Isolate* isolate, CallableType function_type = CallableType::kAny); | 179 PushArgsConstructMode mode); |
| 179 static Callable InterpreterPushArgsAndConstructArray(Isolate* isolate); | 180 static Callable InterpreterPushArgsAndConstructArray(Isolate* isolate); |
| 180 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); | 181 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); |
| 181 static Callable InterpreterOnStackReplacement(Isolate* isolate); | 182 static Callable InterpreterOnStackReplacement(Isolate* isolate); |
| 182 | 183 |
| 183 static Callable ArrayPush(Isolate* isolate); | 184 static Callable ArrayPush(Isolate* isolate); |
| 184 static Callable FunctionPrototypeBind(Isolate* isolate); | 185 static Callable FunctionPrototypeBind(Isolate* isolate); |
| 185 static Callable PromiseHandleReject(Isolate* isolate); | 186 static Callable PromiseHandleReject(Isolate* isolate); |
| 186 }; | 187 }; |
| 187 | 188 |
| 188 } // namespace internal | 189 } // namespace internal |
| 189 } // namespace v8 | 190 } // namespace v8 |
| 190 | 191 |
| 191 #endif // V8_CODE_FACTORY_H_ | 192 #endif // V8_CODE_FACTORY_H_ |
| OLD | NEW |