| 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 static Callable CallFunction( | 149 static Callable CallFunction( |
| 150 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny); | 150 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny); |
| 151 static Callable Construct(Isolate* isolate); | 151 static Callable Construct(Isolate* isolate); |
| 152 static Callable ConstructFunction(Isolate* isolate); | 152 static Callable ConstructFunction(Isolate* isolate); |
| 153 static Callable HasProperty(Isolate* isolate); | 153 static Callable HasProperty(Isolate* isolate); |
| 154 static Callable ForInFilter(Isolate* isolate); | 154 static Callable ForInFilter(Isolate* isolate); |
| 155 | 155 |
| 156 static Callable InterpreterPushArgsAndCall( | 156 static Callable InterpreterPushArgsAndCall( |
| 157 Isolate* isolate, TailCallMode tail_call_mode, | 157 Isolate* isolate, TailCallMode tail_call_mode, |
| 158 CallableType function_type = CallableType::kAny); | 158 CallableType function_type = CallableType::kAny); |
| 159 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); | 159 static Callable InterpreterPushArgsAndConstruct( |
| 160 Isolate* isolate, CallableType function_type = CallableType::kAny); |
| 160 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); | 161 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); |
| 161 static Callable InterpreterOnStackReplacement(Isolate* isolate); | 162 static Callable InterpreterOnStackReplacement(Isolate* isolate); |
| 162 }; | 163 }; |
| 163 | 164 |
| 164 } // namespace internal | 165 } // namespace internal |
| 165 } // namespace v8 | 166 } // namespace v8 |
| 166 | 167 |
| 167 #endif // V8_CODE_FACTORY_H_ | 168 #endif // V8_CODE_FACTORY_H_ |
| OLD | NEW |