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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 static Callable LoadICProtoArray(Isolate* isolate, bool throw_if_nonexistent); | 42 static Callable LoadICProtoArray(Isolate* isolate, bool throw_if_nonexistent); |
43 static Callable LoadGlobalIC(Isolate* isolate, TypeofMode typeof_mode); | 43 static Callable LoadGlobalIC(Isolate* isolate, TypeofMode typeof_mode); |
44 static Callable LoadGlobalICInOptimizedCode(Isolate* isolate, | 44 static Callable LoadGlobalICInOptimizedCode(Isolate* isolate, |
45 TypeofMode typeof_mode); | 45 TypeofMode typeof_mode); |
46 static Callable KeyedLoadIC(Isolate* isolate); | 46 static Callable KeyedLoadIC(Isolate* isolate); |
47 static Callable KeyedLoadICInOptimizedCode(Isolate* isolate); | 47 static Callable KeyedLoadICInOptimizedCode(Isolate* isolate); |
48 static Callable KeyedLoadIC_Megamorphic(Isolate* isolate); | 48 static Callable KeyedLoadIC_Megamorphic(Isolate* isolate); |
49 static Callable CallIC(Isolate* isolate, | 49 static Callable CallIC(Isolate* isolate, |
50 ConvertReceiverMode mode = ConvertReceiverMode::kAny, | 50 ConvertReceiverMode mode = ConvertReceiverMode::kAny, |
51 TailCallMode tail_call_mode = TailCallMode::kDisallow); | 51 TailCallMode tail_call_mode = TailCallMode::kDisallow); |
52 static Callable CallICInOptimizedCode( | 52 static Callable CallICTrampoline( |
53 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny, | 53 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny, |
54 TailCallMode tail_call_mode = TailCallMode::kDisallow); | 54 TailCallMode tail_call_mode = TailCallMode::kDisallow); |
55 static Callable StoreIC(Isolate* isolate, LanguageMode mode); | 55 static Callable StoreIC(Isolate* isolate, LanguageMode mode); |
56 static Callable StoreICInOptimizedCode(Isolate* isolate, LanguageMode mode); | 56 static Callable StoreICInOptimizedCode(Isolate* isolate, LanguageMode mode); |
57 static Callable KeyedStoreIC(Isolate* isolate, LanguageMode mode); | 57 static Callable KeyedStoreIC(Isolate* isolate, LanguageMode mode); |
58 static Callable KeyedStoreICInOptimizedCode(Isolate* isolate, | 58 static Callable KeyedStoreICInOptimizedCode(Isolate* isolate, |
59 LanguageMode mode); | 59 LanguageMode mode); |
60 static Callable KeyedStoreIC_Megamorphic(Isolate* isolate, LanguageMode mode); | 60 static Callable KeyedStoreIC_Megamorphic(Isolate* isolate, LanguageMode mode); |
61 | 61 |
62 static Callable ResumeGenerator(Isolate* isolate); | 62 static Callable ResumeGenerator(Isolate* isolate); |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 | 192 |
193 static Callable ArrayPush(Isolate* isolate); | 193 static Callable ArrayPush(Isolate* isolate); |
194 static Callable FunctionPrototypeBind(Isolate* isolate); | 194 static Callable FunctionPrototypeBind(Isolate* isolate); |
195 static Callable PromiseHandleReject(Isolate* isolate); | 195 static Callable PromiseHandleReject(Isolate* isolate); |
196 }; | 196 }; |
197 | 197 |
198 } // namespace internal | 198 } // namespace internal |
199 } // namespace v8 | 199 } // namespace v8 |
200 | 200 |
201 #endif // V8_CODE_FACTORY_H_ | 201 #endif // V8_CODE_FACTORY_H_ |
OLD | NEW |