Chromium Code Reviews| 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/callable.h" | 10 #include "src/callable.h" |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 159 static Callable ArgumentAdaptor(Isolate* isolate); | 159 static Callable ArgumentAdaptor(Isolate* isolate); |
| 160 static Callable Call(Isolate* isolate, | 160 static Callable Call(Isolate* isolate, |
| 161 ConvertReceiverMode mode = ConvertReceiverMode::kAny, | 161 ConvertReceiverMode mode = ConvertReceiverMode::kAny, |
| 162 TailCallMode tail_call_mode = TailCallMode::kDisallow); | 162 TailCallMode tail_call_mode = TailCallMode::kDisallow); |
| 163 static Callable CallWithSpread(Isolate* isolate); | 163 static Callable CallWithSpread(Isolate* isolate); |
| 164 static Callable CallFunction( | 164 static Callable CallFunction( |
| 165 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny, | 165 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny, |
| 166 TailCallMode tail_call_mode = TailCallMode::kDisallow); | 166 TailCallMode tail_call_mode = TailCallMode::kDisallow); |
| 167 static Callable CallForwardVarargs(Isolate* isolate); | 167 static Callable CallForwardVarargs(Isolate* isolate); |
| 168 static Callable CallFunctionForwardVarargs(Isolate* isolate); | 168 static Callable CallFunctionForwardVarargs(Isolate* isolate); |
| 169 static Callable ConsoleAssert(Isolate* isolate); | |
|
Igor Sheludko
2017/04/20 10:18:42
It will not be necessary if you use CSA::TailCallB
| |
| 169 static Callable Construct(Isolate* isolate); | 170 static Callable Construct(Isolate* isolate); |
| 170 static Callable ConstructWithSpread(Isolate* isolate); | 171 static Callable ConstructWithSpread(Isolate* isolate); |
| 171 static Callable ConstructFunction(Isolate* isolate); | 172 static Callable ConstructFunction(Isolate* isolate); |
| 172 static Callable CreateIterResultObject(Isolate* isolate); | 173 static Callable CreateIterResultObject(Isolate* isolate); |
| 173 static Callable HasProperty(Isolate* isolate); | 174 static Callable HasProperty(Isolate* isolate); |
| 174 static Callable ForInFilter(Isolate* isolate); | 175 static Callable ForInFilter(Isolate* isolate); |
| 175 | 176 |
| 176 static Callable InterpreterPushArgsThenCall(Isolate* isolate, | 177 static Callable InterpreterPushArgsThenCall(Isolate* isolate, |
| 177 ConvertReceiverMode receiver_mode, | 178 ConvertReceiverMode receiver_mode, |
| 178 TailCallMode tail_call_mode, | 179 TailCallMode tail_call_mode, |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 197 | 198 |
| 198 static Callable AsyncGeneratorResolve(Isolate* isolate); | 199 static Callable AsyncGeneratorResolve(Isolate* isolate); |
| 199 static Callable AsyncGeneratorReject(Isolate* isolate); | 200 static Callable AsyncGeneratorReject(Isolate* isolate); |
| 200 static Callable AsyncGeneratorResumeNext(Isolate* isolate); | 201 static Callable AsyncGeneratorResumeNext(Isolate* isolate); |
| 201 }; | 202 }; |
| 202 | 203 |
| 203 } // namespace internal | 204 } // namespace internal |
| 204 } // namespace v8 | 205 } // namespace v8 |
| 205 | 206 |
| 206 #endif // V8_CODE_FACTORY_H_ | 207 #endif // V8_CODE_FACTORY_H_ |
| OLD | NEW |