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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 ConvertReceiverMode mode = ConvertReceiverMode::kAny, | 43 ConvertReceiverMode mode = ConvertReceiverMode::kAny, |
44 TailCallMode tail_call_mode = TailCallMode::kDisallow); | 44 TailCallMode tail_call_mode = TailCallMode::kDisallow); |
45 static Callable CallICInOptimizedCode( | 45 static Callable CallICInOptimizedCode( |
46 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny, | 46 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny, |
47 TailCallMode tail_call_mode = TailCallMode::kDisallow); | 47 TailCallMode tail_call_mode = TailCallMode::kDisallow); |
48 static Callable StoreIC(Isolate* isolate, LanguageMode mode); | 48 static Callable StoreIC(Isolate* isolate, LanguageMode mode); |
49 static Callable StoreICInOptimizedCode(Isolate* isolate, LanguageMode mode); | 49 static Callable StoreICInOptimizedCode(Isolate* isolate, LanguageMode mode); |
50 static Callable KeyedStoreIC(Isolate* isolate, LanguageMode mode); | 50 static Callable KeyedStoreIC(Isolate* isolate, LanguageMode mode); |
51 static Callable KeyedStoreICInOptimizedCode(Isolate* isolate, | 51 static Callable KeyedStoreICInOptimizedCode(Isolate* isolate, |
52 LanguageMode mode); | 52 LanguageMode mode); |
| 53 static Callable KeyedStoreIC_Megamorphic(Isolate* isolate, LanguageMode mode); |
53 | 54 |
54 static Callable ResumeGenerator(Isolate* isolate); | 55 static Callable ResumeGenerator(Isolate* isolate); |
55 | 56 |
56 static Callable CompareIC(Isolate* isolate, Token::Value op); | 57 static Callable CompareIC(Isolate* isolate, Token::Value op); |
57 static Callable CompareNilIC(Isolate* isolate, NilValue nil_value); | 58 static Callable CompareNilIC(Isolate* isolate, NilValue nil_value); |
58 | 59 |
59 static Callable BinaryOpIC(Isolate* isolate, Token::Value op); | 60 static Callable BinaryOpIC(Isolate* isolate, Token::Value op); |
60 | 61 |
61 static Callable ApiGetter(Isolate* isolate); | 62 static Callable ApiGetter(Isolate* isolate); |
62 | 63 |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 Isolate* isolate, CallableType function_type = CallableType::kAny); | 163 Isolate* isolate, CallableType function_type = CallableType::kAny); |
163 static Callable InterpreterPushArgsAndConstructArray(Isolate* isolate); | 164 static Callable InterpreterPushArgsAndConstructArray(Isolate* isolate); |
164 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); | 165 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); |
165 static Callable InterpreterOnStackReplacement(Isolate* isolate); | 166 static Callable InterpreterOnStackReplacement(Isolate* isolate); |
166 }; | 167 }; |
167 | 168 |
168 } // namespace internal | 169 } // namespace internal |
169 } // namespace v8 | 170 } // namespace v8 |
170 | 171 |
171 #endif // V8_CODE_FACTORY_H_ | 172 #endif // V8_CODE_FACTORY_H_ |
OLD | NEW |