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_STUBS_H_ | 5 #ifndef V8_CODE_STUBS_H_ |
6 #define V8_CODE_STUBS_H_ | 6 #define V8_CODE_STUBS_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/code-stub-assembler.h" | 10 #include "src/code-stub-assembler.h" |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 /* version of the corresponding stub is */ \ | 62 /* version of the corresponding stub is */ \ |
63 /* used universally */ \ | 63 /* used universally */ \ |
64 V(CallICTrampoline) \ | 64 V(CallICTrampoline) \ |
65 V(LoadICTrampoline) \ | 65 V(LoadICTrampoline) \ |
66 V(KeyedLoadICTrampoline) \ | 66 V(KeyedLoadICTrampoline) \ |
67 V(KeyedStoreICTrampoline) \ | 67 V(KeyedStoreICTrampoline) \ |
68 V(StoreICTrampoline) \ | 68 V(StoreICTrampoline) \ |
69 /* --- HydrogenCodeStubs --- */ \ | 69 /* --- HydrogenCodeStubs --- */ \ |
70 V(NumberToString) \ | 70 V(NumberToString) \ |
71 V(StringAdd) \ | 71 V(StringAdd) \ |
72 V(ToObject) \ | |
73 V(Typeof) \ | |
74 /* These builtins w/ JS linkage are */ \ | 72 /* These builtins w/ JS linkage are */ \ |
75 /* just fast-cases of C++ builtins. They */ \ | 73 /* just fast-cases of C++ builtins. They */ \ |
76 /* require varg support from TF */ \ | 74 /* require varg support from TF */ \ |
77 V(FastArrayPush) \ | 75 V(FastArrayPush) \ |
78 V(FastFunctionBind) \ | 76 V(FastFunctionBind) \ |
79 /* These will be ported/eliminated */ \ | 77 /* These will be ported/eliminated */ \ |
80 /* as part of the new IC system, ask */ \ | 78 /* as part of the new IC system, ask */ \ |
81 /* ishell before doing anything */ \ | 79 /* ishell before doing anything */ \ |
82 V(KeyedLoadGeneric) \ | 80 V(KeyedLoadGeneric) \ |
83 V(LoadConstant) \ | 81 V(LoadConstant) \ |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 V(LoadICTF) \ | 162 V(LoadICTF) \ |
165 V(KeyedLoadICTF) \ | 163 V(KeyedLoadICTF) \ |
166 V(StoreFastElement) \ | 164 V(StoreFastElement) \ |
167 V(StoreField) \ | 165 V(StoreField) \ |
168 V(StoreGlobal) \ | 166 V(StoreGlobal) \ |
169 V(StoreInterceptor) \ | 167 V(StoreInterceptor) \ |
170 V(StoreTransition) \ | 168 V(StoreTransition) \ |
171 V(LoadApiGetter) \ | 169 V(LoadApiGetter) \ |
172 V(LoadIndexedInterceptor) \ | 170 V(LoadIndexedInterceptor) \ |
173 V(GrowArrayElements) \ | 171 V(GrowArrayElements) \ |
| 172 V(ToObject) \ |
| 173 V(Typeof) \ |
174 /* These are only called from FGC and */ \ | 174 /* These are only called from FGC and */ \ |
175 /* can be removed when we use ignition */ \ | 175 /* can be removed when we use ignition */ \ |
176 /* only */ \ | 176 /* only */ \ |
177 V(LoadICTrampolineTF) \ | 177 V(LoadICTrampolineTF) \ |
178 V(LoadGlobalICTrampoline) \ | 178 V(LoadGlobalICTrampoline) \ |
179 V(KeyedLoadICTrampolineTF) | 179 V(KeyedLoadICTrampolineTF) |
180 | 180 |
181 // List of code stubs only used on ARM 32 bits platforms. | 181 // List of code stubs only used on ARM 32 bits platforms. |
182 #if V8_TARGET_ARCH_ARM | 182 #if V8_TARGET_ARCH_ARM |
183 #define CODE_STUB_LIST_ARM(V) V(DirectCEntry) | 183 #define CODE_STUB_LIST_ARM(V) V(DirectCEntry) |
(...skipping 2959 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3143 #undef DEFINE_HYDROGEN_CODE_STUB | 3143 #undef DEFINE_HYDROGEN_CODE_STUB |
3144 #undef DEFINE_CODE_STUB | 3144 #undef DEFINE_CODE_STUB |
3145 #undef DEFINE_CODE_STUB_BASE | 3145 #undef DEFINE_CODE_STUB_BASE |
3146 | 3146 |
3147 extern Representation RepresentationFromMachineType(MachineType type); | 3147 extern Representation RepresentationFromMachineType(MachineType type); |
3148 | 3148 |
3149 } // namespace internal | 3149 } // namespace internal |
3150 } // namespace v8 | 3150 } // namespace v8 |
3151 | 3151 |
3152 #endif // V8_CODE_STUBS_H_ | 3152 #endif // V8_CODE_STUBS_H_ |
OLD | NEW |