OLD | NEW |
1 | 1 |
2 // Copyright 2011 the V8 project authors. All rights reserved. | 2 // Copyright 2011 the V8 project authors. All rights reserved. |
3 // Use of this source code is governed by a BSD-style license that can be | 3 // Use of this source code is governed by a BSD-style license that can be |
4 // found in the LICENSE file. | 4 // found in the LICENSE file. |
5 | 5 |
6 #ifndef V8_BUILTINS_H_ | 6 #ifndef V8_BUILTINS_H_ |
7 #define V8_BUILTINS_H_ | 7 #define V8_BUILTINS_H_ |
8 | 8 |
9 #include "src/base/flags.h" | 9 #include "src/base/flags.h" |
10 #include "src/handles.h" | 10 #include "src/handles.h" |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 | 365 |
366 // Define list of builtins implemented in TurboFan (with CallStub linkage). | 366 // Define list of builtins implemented in TurboFan (with CallStub linkage). |
367 #define BUILTIN_LIST_S(V) \ | 367 #define BUILTIN_LIST_S(V) \ |
368 V(LoadGlobalIC_Miss, BUILTIN, kNoExtraICState, LoadGlobalWithVector) \ | 368 V(LoadGlobalIC_Miss, BUILTIN, kNoExtraICState, LoadGlobalWithVector) \ |
369 V(LoadGlobalIC_SlowNotInsideTypeof, HANDLER, Code::LOAD_GLOBAL_IC, \ | 369 V(LoadGlobalIC_SlowNotInsideTypeof, HANDLER, Code::LOAD_GLOBAL_IC, \ |
370 LoadGlobalWithVector) \ | 370 LoadGlobalWithVector) \ |
371 V(LoadGlobalIC_SlowInsideTypeof, HANDLER, Code::LOAD_GLOBAL_IC, \ | 371 V(LoadGlobalIC_SlowInsideTypeof, HANDLER, Code::LOAD_GLOBAL_IC, \ |
372 LoadGlobalWithVector) \ | 372 LoadGlobalWithVector) \ |
373 V(LoadIC_Miss, BUILTIN, kNoExtraICState, LoadWithVector) \ | 373 V(LoadIC_Miss, BUILTIN, kNoExtraICState, LoadWithVector) \ |
374 V(LoadIC_Slow, HANDLER, Code::LOAD_IC, LoadWithVector) \ | 374 V(LoadIC_Slow, HANDLER, Code::LOAD_IC, LoadWithVector) \ |
375 V(StoreIC_Miss, BUILTIN, kNoExtraICState, VectorStoreIC) \ | 375 V(StoreIC_Miss, BUILTIN, kNoExtraICState, StoreWithVector) \ |
376 V(StoreIC_SlowSloppy, HANDLER, Code::STORE_IC, VectorStoreIC) \ | 376 V(StoreIC_SlowSloppy, HANDLER, Code::STORE_IC, StoreWithVector) \ |
377 V(StoreIC_SlowStrict, HANDLER, Code::STORE_IC, VectorStoreIC) | 377 V(StoreIC_SlowStrict, HANDLER, Code::STORE_IC, StoreWithVector) |
378 | 378 |
379 // Define list of builtin handlers implemented in assembly. | 379 // Define list of builtin handlers implemented in assembly. |
380 #define BUILTIN_LIST_H(V) \ | 380 #define BUILTIN_LIST_H(V) \ |
381 V(KeyedLoadIC_Slow, KEYED_LOAD_IC) \ | 381 V(KeyedLoadIC_Slow, KEYED_LOAD_IC) \ |
382 V(KeyedStoreIC_Slow, KEYED_STORE_IC) \ | 382 V(KeyedStoreIC_Slow, KEYED_STORE_IC) \ |
383 V(LoadIC_Normal, LOAD_IC) \ | 383 V(LoadIC_Normal, LOAD_IC) \ |
384 V(StoreIC_Normal, STORE_IC) | 384 V(StoreIC_Normal, STORE_IC) |
385 | 385 |
386 // Define list of builtins used by the debugger implemented in assembly. | 386 // Define list of builtins used by the debugger implemented in assembly. |
387 #define BUILTIN_LIST_DEBUG_A(V) \ | 387 #define BUILTIN_LIST_DEBUG_A(V) \ |
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
843 friend class BuiltinFunctionTable; | 843 friend class BuiltinFunctionTable; |
844 friend class Isolate; | 844 friend class Isolate; |
845 | 845 |
846 DISALLOW_COPY_AND_ASSIGN(Builtins); | 846 DISALLOW_COPY_AND_ASSIGN(Builtins); |
847 }; | 847 }; |
848 | 848 |
849 } // namespace internal | 849 } // namespace internal |
850 } // namespace v8 | 850 } // namespace v8 |
851 | 851 |
852 #endif // V8_BUILTINS_H_ | 852 #endif // V8_BUILTINS_H_ |
OLD | NEW |