| 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 static Callable Allocate##Type(Isolate* isolate); | 164 static Callable Allocate##Type(Isolate* isolate); |
| 165 SIMD128_TYPES(SIMD128_ALLOC) | 165 SIMD128_TYPES(SIMD128_ALLOC) |
| 166 #undef SIMD128_ALLOC | 166 #undef SIMD128_ALLOC |
| 167 | 167 |
| 168 static Callable ArgumentAdaptor(Isolate* isolate); | 168 static Callable ArgumentAdaptor(Isolate* isolate); |
| 169 static Callable Call(Isolate* isolate, | 169 static Callable Call(Isolate* isolate, |
| 170 ConvertReceiverMode mode = ConvertReceiverMode::kAny, | 170 ConvertReceiverMode mode = ConvertReceiverMode::kAny, |
| 171 TailCallMode tail_call_mode = TailCallMode::kDisallow); | 171 TailCallMode tail_call_mode = TailCallMode::kDisallow); |
| 172 static Callable CallWithSpread(Isolate* isolate); | 172 static Callable CallWithSpread(Isolate* isolate); |
| 173 static Callable CallFunction( | 173 static Callable CallFunction( |
| 174 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny); | 174 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny, |
| 175 TailCallMode tail_call_mode = TailCallMode::kDisallow); |
| 175 static Callable CallForwardVarargs(Isolate* isolate); | 176 static Callable CallForwardVarargs(Isolate* isolate); |
| 176 static Callable CallFunctionForwardVarargs(Isolate* isolate); | 177 static Callable CallFunctionForwardVarargs(Isolate* isolate); |
| 177 static Callable Construct(Isolate* isolate); | 178 static Callable Construct(Isolate* isolate); |
| 178 static Callable ConstructWithSpread(Isolate* isolate); | 179 static Callable ConstructWithSpread(Isolate* isolate); |
| 179 static Callable ConstructFunction(Isolate* isolate); | 180 static Callable ConstructFunction(Isolate* isolate); |
| 180 static Callable CreateIterResultObject(Isolate* isolate); | 181 static Callable CreateIterResultObject(Isolate* isolate); |
| 181 static Callable HasProperty(Isolate* isolate); | 182 static Callable HasProperty(Isolate* isolate); |
| 182 static Callable ForInFilter(Isolate* isolate); | 183 static Callable ForInFilter(Isolate* isolate); |
| 183 | 184 |
| 184 static Callable InterpreterPushArgsAndCall(Isolate* isolate, | 185 static Callable InterpreterPushArgsAndCall(Isolate* isolate, |
| 185 TailCallMode tail_call_mode, | 186 TailCallMode tail_call_mode, |
| 186 InterpreterPushArgsMode mode); | 187 InterpreterPushArgsMode mode); |
| 187 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate, | 188 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate, |
| 188 InterpreterPushArgsMode mode); | 189 InterpreterPushArgsMode mode); |
| 189 static Callable InterpreterPushArgsAndConstructArray(Isolate* isolate); | 190 static Callable InterpreterPushArgsAndConstructArray(Isolate* isolate); |
| 190 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); | 191 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); |
| 191 static Callable InterpreterOnStackReplacement(Isolate* isolate); | 192 static Callable InterpreterOnStackReplacement(Isolate* isolate); |
| 192 | 193 |
| 194 static Callable ArrayConstructor(Isolate* isolate); |
| 193 static Callable ArrayPush(Isolate* isolate); | 195 static Callable ArrayPush(Isolate* isolate); |
| 194 static Callable FunctionPrototypeBind(Isolate* isolate); | 196 static Callable FunctionPrototypeBind(Isolate* isolate); |
| 195 static Callable PromiseHandleReject(Isolate* isolate); | 197 static Callable PromiseHandleReject(Isolate* isolate); |
| 196 }; | 198 }; |
| 197 | 199 |
| 198 } // namespace internal | 200 } // namespace internal |
| 199 } // namespace v8 | 201 } // namespace v8 |
| 200 | 202 |
| 201 #endif // V8_CODE_FACTORY_H_ | 203 #endif // V8_CODE_FACTORY_H_ |
| OLD | NEW |