| 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 25 matching lines...) Expand all Loading... |
| 36 LanguageMode language_mode); | 36 LanguageMode language_mode); |
| 37 static Callable LoadICInOptimizedCode(Isolate* isolate, | 37 static Callable LoadICInOptimizedCode(Isolate* isolate, |
| 38 TypeofMode typeof_mode, | 38 TypeofMode typeof_mode, |
| 39 LanguageMode language_mode, | 39 LanguageMode language_mode, |
| 40 InlineCacheState initialization_state); | 40 InlineCacheState initialization_state); |
| 41 static Callable KeyedLoadIC(Isolate* isolate, LanguageMode language_mode); | 41 static Callable KeyedLoadIC(Isolate* isolate, LanguageMode language_mode); |
| 42 static Callable KeyedLoadICInOptimizedCode( | 42 static Callable KeyedLoadICInOptimizedCode( |
| 43 Isolate* isolate, LanguageMode language_mode, | 43 Isolate* isolate, LanguageMode language_mode, |
| 44 InlineCacheState initialization_state); | 44 InlineCacheState initialization_state); |
| 45 static Callable CallIC(Isolate* isolate, int argc, | 45 static Callable CallIC(Isolate* isolate, int argc, |
| 46 ConvertReceiverMode mode = ConvertReceiverMode::kAny); | 46 ConvertReceiverMode mode = ConvertReceiverMode::kAny, |
| 47 TailCallMode tail_call_mode = TailCallMode::kDisallow); |
| 47 static Callable CallICInOptimizedCode( | 48 static Callable CallICInOptimizedCode( |
| 48 Isolate* isolate, int argc, | 49 Isolate* isolate, int argc, |
| 49 ConvertReceiverMode mode = ConvertReceiverMode::kAny); | 50 ConvertReceiverMode mode = ConvertReceiverMode::kAny, |
| 51 TailCallMode tail_call_mode = TailCallMode::kDisallow); |
| 50 static Callable StoreIC(Isolate* isolate, LanguageMode mode); | 52 static Callable StoreIC(Isolate* isolate, LanguageMode mode); |
| 51 static Callable StoreICInOptimizedCode(Isolate* isolate, LanguageMode mode, | 53 static Callable StoreICInOptimizedCode(Isolate* isolate, LanguageMode mode, |
| 52 InlineCacheState initialization_state); | 54 InlineCacheState initialization_state); |
| 53 static Callable KeyedStoreIC(Isolate* isolate, LanguageMode mode); | 55 static Callable KeyedStoreIC(Isolate* isolate, LanguageMode mode); |
| 54 static Callable KeyedStoreICInOptimizedCode( | 56 static Callable KeyedStoreICInOptimizedCode( |
| 55 Isolate* isolate, LanguageMode mode, | 57 Isolate* isolate, LanguageMode mode, |
| 56 InlineCacheState initialization_state); | 58 InlineCacheState initialization_state); |
| 57 | 59 |
| 58 static Callable CompareIC(Isolate* isolate, Token::Value op, | 60 static Callable CompareIC(Isolate* isolate, Token::Value op, |
| 59 Strength strength); | 61 Strength strength); |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 | 113 |
| 112 static Callable InterpreterPushArgsAndCall(Isolate* isolate); | 114 static Callable InterpreterPushArgsAndCall(Isolate* isolate); |
| 113 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); | 115 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); |
| 114 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); | 116 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); |
| 115 }; | 117 }; |
| 116 | 118 |
| 117 } // namespace internal | 119 } // namespace internal |
| 118 } // namespace v8 | 120 } // namespace v8 |
| 119 | 121 |
| 120 #endif // V8_CODE_FACTORY_H_ | 122 #endif // V8_CODE_FACTORY_H_ |
| OLD | NEW |