OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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_BUILTINS_BUILTINS_H_ | 5 #ifndef V8_BUILTINS_BUILTINS_H_ |
6 #define V8_BUILTINS_BUILTINS_H_ | 6 #define V8_BUILTINS_BUILTINS_H_ |
7 | 7 |
8 #include "src/base/flags.h" | 8 #include "src/base/flags.h" |
9 #include "src/handles.h" | 9 #include "src/handles.h" |
10 | 10 |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 TFS(ToNumber, BUILTIN, kNoExtraICState, TypeConversion) \ | 205 TFS(ToNumber, BUILTIN, kNoExtraICState, TypeConversion) \ |
206 TFS(ToString, BUILTIN, kNoExtraICState, TypeConversion) \ | 206 TFS(ToString, BUILTIN, kNoExtraICState, TypeConversion) \ |
207 TFS(ToInteger, BUILTIN, kNoExtraICState, TypeConversion) \ | 207 TFS(ToInteger, BUILTIN, kNoExtraICState, TypeConversion) \ |
208 TFS(ToLength, BUILTIN, kNoExtraICState, TypeConversion) \ | 208 TFS(ToLength, BUILTIN, kNoExtraICState, TypeConversion) \ |
209 TFS(Typeof, BUILTIN, kNoExtraICState, Typeof) \ | 209 TFS(Typeof, BUILTIN, kNoExtraICState, Typeof) \ |
210 TFS(GetSuperConstructor, BUILTIN, kNoExtraICState, TypeConversion) \ | 210 TFS(GetSuperConstructor, BUILTIN, kNoExtraICState, TypeConversion) \ |
211 \ | 211 \ |
212 /* Handlers */ \ | 212 /* Handlers */ \ |
213 TFS(KeyedLoadIC_Megamorphic_TF, KEYED_LOAD_IC, kNoExtraICState, \ | 213 TFS(KeyedLoadIC_Megamorphic_TF, KEYED_LOAD_IC, kNoExtraICState, \ |
214 LoadWithVector) \ | 214 LoadWithVector) \ |
215 ASM(KeyedLoadIC_Miss) \ | 215 TFS(KeyedLoadIC_Miss, BUILTIN, kNoExtraICState, LoadWithVector) \ |
216 ASH(KeyedLoadIC_Slow, HANDLER, Code::KEYED_LOAD_IC) \ | 216 TFS(KeyedLoadIC_Slow, HANDLER, Code::KEYED_LOAD_IC, LoadWithVector) \ |
217 TFS(KeyedStoreIC_Megamorphic_TF, KEYED_STORE_IC, kNoExtraICState, \ | 217 TFS(KeyedStoreIC_Megamorphic_TF, KEYED_STORE_IC, kNoExtraICState, \ |
218 StoreWithVector) \ | 218 StoreWithVector) \ |
219 TFS(KeyedStoreIC_Megamorphic_Strict_TF, KEYED_STORE_IC, \ | 219 TFS(KeyedStoreIC_Megamorphic_Strict_TF, KEYED_STORE_IC, \ |
220 StoreICState::kStrictModeState, StoreWithVector) \ | 220 StoreICState::kStrictModeState, StoreWithVector) \ |
221 ASM(KeyedStoreIC_Miss) \ | 221 ASM(KeyedStoreIC_Miss) \ |
222 ASH(KeyedStoreIC_Slow, HANDLER, Code::KEYED_STORE_IC) \ | 222 ASH(KeyedStoreIC_Slow, HANDLER, Code::KEYED_STORE_IC) \ |
223 TFS(LoadGlobalIC_Miss, BUILTIN, kNoExtraICState, LoadGlobalWithVector) \ | 223 TFS(LoadGlobalIC_Miss, BUILTIN, kNoExtraICState, LoadGlobalWithVector) \ |
224 TFS(LoadGlobalIC_Slow, HANDLER, Code::LOAD_GLOBAL_IC, LoadGlobalWithVector) \ | 224 TFS(LoadGlobalIC_Slow, HANDLER, Code::LOAD_GLOBAL_IC, LoadGlobalWithVector) \ |
225 ASH(LoadIC_Getter_ForDeopt, LOAD_IC, kNoExtraICState) \ | 225 ASH(LoadIC_Getter_ForDeopt, LOAD_IC, kNoExtraICState) \ |
226 TFS(LoadIC_Miss, BUILTIN, kNoExtraICState, LoadWithVector) \ | 226 TFS(LoadIC_Miss, BUILTIN, kNoExtraICState, LoadWithVector) \ |
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
913 | 913 |
914 friend class Isolate; | 914 friend class Isolate; |
915 | 915 |
916 DISALLOW_COPY_AND_ASSIGN(Builtins); | 916 DISALLOW_COPY_AND_ASSIGN(Builtins); |
917 }; | 917 }; |
918 | 918 |
919 } // namespace internal | 919 } // namespace internal |
920 } // namespace v8 | 920 } // namespace v8 |
921 | 921 |
922 #endif // V8_BUILTINS_BUILTINS_H_ | 922 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |