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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny, | 52 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny, |
53 TailCallMode tail_call_mode = TailCallMode::kDisallow); | 53 TailCallMode tail_call_mode = TailCallMode::kDisallow); |
54 static Callable StoreIC(Isolate* isolate, LanguageMode mode); | 54 static Callable StoreIC(Isolate* isolate, LanguageMode mode); |
55 static Callable StoreICInOptimizedCode(Isolate* isolate, LanguageMode mode); | 55 static Callable StoreICInOptimizedCode(Isolate* isolate, LanguageMode mode); |
56 static Callable KeyedStoreIC(Isolate* isolate, LanguageMode mode); | 56 static Callable KeyedStoreIC(Isolate* isolate, LanguageMode mode); |
57 static Callable KeyedStoreICInOptimizedCode(Isolate* isolate, | 57 static Callable KeyedStoreICInOptimizedCode(Isolate* isolate, |
58 LanguageMode mode); | 58 LanguageMode mode); |
59 static Callable KeyedStoreIC_Megamorphic(Isolate* isolate, LanguageMode mode); | 59 static Callable KeyedStoreIC_Megamorphic(Isolate* isolate, LanguageMode mode); |
60 | 60 |
61 static Callable ResumeGenerator(Isolate* isolate); | 61 static Callable ResumeGenerator(Isolate* isolate); |
| 62 static Callable ResumeAwaitedGenerator(Isolate* isolate); |
62 | 63 |
63 static Callable CompareIC(Isolate* isolate, Token::Value op); | 64 static Callable CompareIC(Isolate* isolate, Token::Value op); |
64 static Callable CompareNilIC(Isolate* isolate, NilValue nil_value); | 65 static Callable CompareNilIC(Isolate* isolate, NilValue nil_value); |
65 | 66 |
66 static Callable BinaryOpIC(Isolate* isolate, Token::Value op); | 67 static Callable BinaryOpIC(Isolate* isolate, Token::Value op); |
67 | 68 |
68 static Callable ApiGetter(Isolate* isolate); | 69 static Callable ApiGetter(Isolate* isolate); |
69 | 70 |
70 // Code stubs. Add methods here as needed to reduce dependency on | 71 // Code stubs. Add methods here as needed to reduce dependency on |
71 // code-stubs.h. | 72 // code-stubs.h. |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |