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 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 KeyedStoreIC(Isolate* isolate, LanguageMode mode); | 46 static Callable KeyedStoreIC(Isolate* isolate, LanguageMode mode); |
47 static Callable KeyedStoreICInOptimizedCode( | 47 static Callable KeyedStoreICInOptimizedCode( |
48 Isolate* isolate, LanguageMode mode, | 48 Isolate* isolate, LanguageMode mode, |
49 InlineCacheState initialization_state); | 49 InlineCacheState initialization_state); |
50 | 50 |
51 static Callable CompareIC(Isolate* isolate, Token::Value op, | 51 static Callable CompareIC(Isolate* isolate, Token::Value op, |
52 LanguageMode language_mode); | 52 Strength strength); |
53 | 53 |
54 static Callable BinaryOpIC(Isolate* isolate, Token::Value op, | 54 static Callable BinaryOpIC(Isolate* isolate, Token::Value op, |
55 LanguageMode language_mode); | 55 Strength strength); |
56 | 56 |
57 // Code stubs. Add methods here as needed to reduce dependency on | 57 // Code stubs. Add methods here as needed to reduce dependency on |
58 // code-stubs.h. | 58 // code-stubs.h. |
59 static Callable ToBoolean( | 59 static Callable ToBoolean( |
60 Isolate* isolate, ToBooleanStub::ResultMode mode, | 60 Isolate* isolate, ToBooleanStub::ResultMode mode, |
61 ToBooleanStub::Types types = ToBooleanStub::Types()); | 61 ToBooleanStub::Types types = ToBooleanStub::Types()); |
62 | 62 |
63 static Callable ToNumber(Isolate* isolate); | 63 static Callable ToNumber(Isolate* isolate); |
64 | 64 |
65 static Callable StringAdd(Isolate* isolate, StringAddFlags flags, | 65 static Callable StringAdd(Isolate* isolate, StringAddFlags flags, |
(...skipping 10 matching lines...) Expand all Loading... |
76 static Callable AllocateHeapNumber(Isolate* isolate); | 76 static Callable AllocateHeapNumber(Isolate* isolate); |
77 | 77 |
78 static Callable CallFunction(Isolate* isolate, int argc, | 78 static Callable CallFunction(Isolate* isolate, int argc, |
79 CallFunctionFlags flags); | 79 CallFunctionFlags flags); |
80 }; | 80 }; |
81 | 81 |
82 } // namespace internal | 82 } // namespace internal |
83 } // namespace v8 | 83 } // namespace v8 |
84 | 84 |
85 #endif // V8_CODE_FACTORY_H_ | 85 #endif // V8_CODE_FACTORY_H_ |
OLD | NEW |