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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 TFS(KeyedLoadIC_IndexedString, HANDLER, Code::LOAD_IC, LoadWithVector, 1) \ | 236 TFS(KeyedLoadIC_IndexedString, HANDLER, Code::LOAD_IC, LoadWithVector, 1) \ |
237 TFS(KeyedStoreIC_Megamorphic, BUILTIN, kNoExtraICState, StoreWithVector, 1) \ | 237 TFS(KeyedStoreIC_Megamorphic, BUILTIN, kNoExtraICState, StoreWithVector, 1) \ |
238 TFS(KeyedStoreIC_Megamorphic_Strict, BUILTIN, kNoExtraICState, \ | 238 TFS(KeyedStoreIC_Megamorphic_Strict, BUILTIN, kNoExtraICState, \ |
239 StoreWithVector, 1) \ | 239 StoreWithVector, 1) \ |
240 TFS(KeyedStoreIC_Miss, BUILTIN, kNoExtraICState, StoreWithVector, 1) \ | 240 TFS(KeyedStoreIC_Miss, BUILTIN, kNoExtraICState, StoreWithVector, 1) \ |
241 TFS(KeyedStoreIC_Slow, HANDLER, Code::STORE_IC, StoreWithVector, 1) \ | 241 TFS(KeyedStoreIC_Slow, HANDLER, Code::STORE_IC, StoreWithVector, 1) \ |
242 TFS(LoadGlobalIC_Miss, BUILTIN, kNoExtraICState, LoadGlobalWithVector, 1) \ | 242 TFS(LoadGlobalIC_Miss, BUILTIN, kNoExtraICState, LoadGlobalWithVector, 1) \ |
243 TFS(LoadGlobalIC_Slow, HANDLER, Code::LOAD_GLOBAL_IC, LoadGlobalWithVector, \ | 243 TFS(LoadGlobalIC_Slow, HANDLER, Code::LOAD_GLOBAL_IC, LoadGlobalWithVector, \ |
244 1) \ | 244 1) \ |
245 TFS(LoadField, BUILTIN, kNoExtraICState, LoadField, 1) \ | 245 TFS(LoadField, BUILTIN, kNoExtraICState, LoadField, 1) \ |
| 246 TFS(LoadIC_FunctionPrototype, HANDLER, Code::LOAD_IC, LoadWithVector, 1) \ |
246 ASH(LoadIC_Getter_ForDeopt, BUILTIN, kNoExtraICState) \ | 247 ASH(LoadIC_Getter_ForDeopt, BUILTIN, kNoExtraICState) \ |
247 TFS(LoadIC_Miss, BUILTIN, kNoExtraICState, LoadWithVector, 1) \ | 248 TFS(LoadIC_Miss, BUILTIN, kNoExtraICState, LoadWithVector, 1) \ |
248 TFS(LoadIC_Normal, HANDLER, Code::LOAD_IC, LoadWithVector, 1) \ | 249 TFS(LoadIC_Normal, HANDLER, Code::LOAD_IC, LoadWithVector, 1) \ |
249 TFS(LoadIC_Slow, HANDLER, Code::LOAD_IC, LoadWithVector, 1) \ | 250 TFS(LoadIC_Slow, HANDLER, Code::LOAD_IC, LoadWithVector, 1) \ |
250 TFS(StoreIC_Miss, BUILTIN, kNoExtraICState, StoreWithVector, 1) \ | 251 TFS(StoreIC_Miss, BUILTIN, kNoExtraICState, StoreWithVector, 1) \ |
251 TFS(StoreIC_Normal, HANDLER, Code::STORE_IC, StoreWithVector, 1) \ | 252 TFS(StoreIC_Normal, HANDLER, Code::STORE_IC, StoreWithVector, 1) \ |
252 ASH(StoreIC_Setter_ForDeopt, BUILTIN, kNoExtraICState) \ | 253 ASH(StoreIC_Setter_ForDeopt, BUILTIN, kNoExtraICState) \ |
253 \ | 254 \ |
254 /* Built-in functions for Javascript */ \ | 255 /* Built-in functions for Javascript */ \ |
255 /* Special internal builtins */ \ | 256 /* Special internal builtins */ \ |
(...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
952 | 953 |
953 friend class Isolate; | 954 friend class Isolate; |
954 | 955 |
955 DISALLOW_COPY_AND_ASSIGN(Builtins); | 956 DISALLOW_COPY_AND_ASSIGN(Builtins); |
956 }; | 957 }; |
957 | 958 |
958 } // namespace internal | 959 } // namespace internal |
959 } // namespace v8 | 960 } // namespace v8 |
960 | 961 |
961 #endif // V8_BUILTINS_BUILTINS_H_ | 962 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |