| 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 static Callable LoadICInOptimizedCode(Isolate* isolate, ContextualMode mode, | 36 static Callable LoadICInOptimizedCode(Isolate* isolate, ContextualMode mode, |
| 37 InlineCacheState initialization_state); | 37 InlineCacheState initialization_state); |
| 38 static Callable KeyedLoadIC(Isolate* isolate); | 38 static Callable KeyedLoadIC(Isolate* isolate); |
| 39 static Callable KeyedLoadICInOptimizedCode( | 39 static Callable KeyedLoadICInOptimizedCode( |
| 40 Isolate* isolate, InlineCacheState initialization_state); | 40 Isolate* isolate, InlineCacheState initialization_state); |
| 41 static Callable CallIC(Isolate* isolate, int argc, | 41 static Callable CallIC(Isolate* isolate, int argc, |
| 42 CallICState::CallType call_type); | 42 CallICState::CallType call_type); |
| 43 static Callable CallICInOptimizedCode(Isolate* isolate, int argc, | 43 static Callable CallICInOptimizedCode(Isolate* isolate, int argc, |
| 44 CallICState::CallType call_type); | 44 CallICState::CallType call_type); |
| 45 static Callable StoreIC(Isolate* isolate, LanguageMode mode); | 45 static Callable StoreIC(Isolate* isolate, LanguageMode mode); |
| 46 static Callable StoreICInOptimizedCode(Isolate* isolate, LanguageMode mode, |
| 47 InlineCacheState initialization_state); |
| 46 static Callable KeyedStoreIC(Isolate* isolate, LanguageMode mode); | 48 static Callable KeyedStoreIC(Isolate* isolate, LanguageMode mode); |
| 47 static Callable KeyedStoreICInOptimizedCode( | 49 static Callable KeyedStoreICInOptimizedCode( |
| 48 Isolate* isolate, LanguageMode mode, | 50 Isolate* isolate, LanguageMode mode, |
| 49 InlineCacheState initialization_state); | 51 InlineCacheState initialization_state); |
| 50 | 52 |
| 51 static Callable CompareIC(Isolate* isolate, Token::Value op, | 53 static Callable CompareIC(Isolate* isolate, Token::Value op, |
| 52 Strength strength); | 54 Strength strength); |
| 53 | 55 |
| 54 static Callable BinaryOpIC(Isolate* isolate, Token::Value op, | 56 static Callable BinaryOpIC(Isolate* isolate, Token::Value op, |
| 55 Strength strength); | 57 Strength strength); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 78 static Callable AllocateHeapNumber(Isolate* isolate); | 80 static Callable AllocateHeapNumber(Isolate* isolate); |
| 79 | 81 |
| 80 static Callable CallFunction(Isolate* isolate, int argc, | 82 static Callable CallFunction(Isolate* isolate, int argc, |
| 81 CallFunctionFlags flags); | 83 CallFunctionFlags flags); |
| 82 }; | 84 }; |
| 83 | 85 |
| 84 } // namespace internal | 86 } // namespace internal |
| 85 } // namespace v8 | 87 } // namespace v8 |
| 86 | 88 |
| 87 #endif // V8_CODE_FACTORY_H_ | 89 #endif // V8_CODE_FACTORY_H_ |
| OLD | NEW |