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/globals.h" | 9 #include "src/globals.h" |
10 | 10 |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 TFS(Typeof, BUILTIN, kNoExtraICState, Typeof, 1) \ | 226 TFS(Typeof, BUILTIN, kNoExtraICState, Typeof, 1) \ |
227 TFS(GetSuperConstructor, BUILTIN, kNoExtraICState, TypeConversion, 1) \ | 227 TFS(GetSuperConstructor, BUILTIN, kNoExtraICState, TypeConversion, 1) \ |
228 \ | 228 \ |
229 /* Handlers */ \ | 229 /* Handlers */ \ |
230 TFS(LoadICProtoArray, BUILTIN, kNoExtraICState, LoadICProtoArray, 1) \ | 230 TFS(LoadICProtoArray, BUILTIN, kNoExtraICState, LoadICProtoArray, 1) \ |
231 TFS(LoadICProtoArrayThrowIfNonexistent, BUILTIN, kNoExtraICState, \ | 231 TFS(LoadICProtoArrayThrowIfNonexistent, BUILTIN, kNoExtraICState, \ |
232 LoadICProtoArray, 1) \ | 232 LoadICProtoArray, 1) \ |
233 TFS(KeyedLoadIC_Megamorphic, BUILTIN, kNoExtraICState, LoadWithVector, 1) \ | 233 TFS(KeyedLoadIC_Megamorphic, BUILTIN, kNoExtraICState, LoadWithVector, 1) \ |
234 TFS(KeyedLoadIC_Miss, BUILTIN, kNoExtraICState, LoadWithVector, 1) \ | 234 TFS(KeyedLoadIC_Miss, BUILTIN, kNoExtraICState, LoadWithVector, 1) \ |
235 TFS(KeyedLoadIC_Slow, HANDLER, Code::LOAD_IC, LoadWithVector, 1) \ | 235 TFS(KeyedLoadIC_Slow, HANDLER, Code::LOAD_IC, LoadWithVector, 1) \ |
| 236 TFS(KeyedLoadIC_IndexedString, HANDLER, Code::LOAD_IC, LoadWithVector, 1) \ |
236 TFS(KeyedStoreIC_Megamorphic, BUILTIN, kNoExtraICState, StoreWithVector, 1) \ | 237 TFS(KeyedStoreIC_Megamorphic, BUILTIN, kNoExtraICState, StoreWithVector, 1) \ |
237 TFS(KeyedStoreIC_Megamorphic_Strict, BUILTIN, kNoExtraICState, \ | 238 TFS(KeyedStoreIC_Megamorphic_Strict, BUILTIN, kNoExtraICState, \ |
238 StoreWithVector, 1) \ | 239 StoreWithVector, 1) \ |
239 TFS(KeyedStoreIC_Miss, BUILTIN, kNoExtraICState, StoreWithVector, 1) \ | 240 TFS(KeyedStoreIC_Miss, BUILTIN, kNoExtraICState, StoreWithVector, 1) \ |
240 TFS(KeyedStoreIC_Slow, HANDLER, Code::STORE_IC, StoreWithVector, 1) \ | 241 TFS(KeyedStoreIC_Slow, HANDLER, Code::STORE_IC, StoreWithVector, 1) \ |
241 TFS(LoadGlobalIC_Miss, BUILTIN, kNoExtraICState, LoadGlobalWithVector, 1) \ | 242 TFS(LoadGlobalIC_Miss, BUILTIN, kNoExtraICState, LoadGlobalWithVector, 1) \ |
242 TFS(LoadGlobalIC_Slow, HANDLER, Code::LOAD_GLOBAL_IC, LoadGlobalWithVector, \ | 243 TFS(LoadGlobalIC_Slow, HANDLER, Code::LOAD_GLOBAL_IC, LoadGlobalWithVector, \ |
243 1) \ | 244 1) \ |
244 TFS(LoadField, BUILTIN, kNoExtraICState, LoadField, 1) \ | 245 TFS(LoadField, BUILTIN, kNoExtraICState, LoadField, 1) \ |
245 ASH(LoadIC_Getter_ForDeopt, BUILTIN, kNoExtraICState) \ | 246 ASH(LoadIC_Getter_ForDeopt, BUILTIN, kNoExtraICState) \ |
(...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
951 | 952 |
952 friend class Isolate; | 953 friend class Isolate; |
953 | 954 |
954 DISALLOW_COPY_AND_ASSIGN(Builtins); | 955 DISALLOW_COPY_AND_ASSIGN(Builtins); |
955 }; | 956 }; |
956 | 957 |
957 } // namespace internal | 958 } // namespace internal |
958 } // namespace v8 | 959 } // namespace v8 |
959 | 960 |
960 #endif // V8_BUILTINS_BUILTINS_H_ | 961 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |