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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 // ASM: Builtin in platform-dependent assembly. | 44 // ASM: Builtin in platform-dependent assembly. |
45 // Args: name | 45 // Args: name |
46 // ASH: Handlers implemented in platform-dependent assembly. | 46 // ASH: Handlers implemented in platform-dependent assembly. |
47 // Args: name, code kind, extra IC state | 47 // Args: name, code kind, extra IC state |
48 // DBG: Builtin in platform-dependent assembly, used by the debugger. | 48 // DBG: Builtin in platform-dependent assembly, used by the debugger. |
49 // Args: name | 49 // Args: name |
50 #define BUILTIN_LIST(CPP, API, TFJ, TFS, ASM, ASH, DBG) \ | 50 #define BUILTIN_LIST(CPP, API, TFJ, TFS, ASM, ASH, DBG) \ |
51 ASM(Abort) \ | 51 ASM(Abort) \ |
52 /* Handlers */ \ | 52 /* Handlers */ \ |
53 ASH(KeyedLoadIC_Megamorphic, KEYED_LOAD_IC, kNoExtraICState) \ | 53 ASH(KeyedLoadIC_Megamorphic, KEYED_LOAD_IC, kNoExtraICState) \ |
54 TFS(KeyedLoadIC_Megamorphic_TF, KEYED_LOAD_IC, kNoExtraICState, \ | |
55 LoadWithVector) \ | |
56 ASM(KeyedLoadIC_Miss) \ | 54 ASM(KeyedLoadIC_Miss) \ |
57 ASH(KeyedLoadIC_Slow, HANDLER, Code::KEYED_LOAD_IC) \ | 55 ASH(KeyedLoadIC_Slow, HANDLER, Code::KEYED_LOAD_IC) \ |
58 ASH(KeyedStoreIC_Megamorphic, KEYED_STORE_IC, kNoExtraICState) \ | 56 ASH(KeyedStoreIC_Megamorphic, KEYED_STORE_IC, kNoExtraICState) \ |
59 ASH(KeyedStoreIC_Megamorphic_Strict, KEYED_STORE_IC, \ | 57 ASH(KeyedStoreIC_Megamorphic_Strict, KEYED_STORE_IC, \ |
60 StoreICState::kStrictModeState) \ | 58 StoreICState::kStrictModeState) \ |
61 ASM(KeyedStoreIC_Miss) \ | 59 ASM(KeyedStoreIC_Miss) \ |
62 ASH(KeyedStoreIC_Slow, HANDLER, Code::KEYED_STORE_IC) \ | 60 ASH(KeyedStoreIC_Slow, HANDLER, Code::KEYED_STORE_IC) \ |
63 TFS(LoadGlobalIC_Miss, BUILTIN, kNoExtraICState, LoadGlobalWithVector) \ | 61 TFS(LoadGlobalIC_Miss, BUILTIN, kNoExtraICState, LoadGlobalWithVector) \ |
64 TFS(LoadGlobalIC_Slow, HANDLER, Code::LOAD_GLOBAL_IC, LoadGlobalWithVector) \ | 62 TFS(LoadGlobalIC_Slow, HANDLER, Code::LOAD_GLOBAL_IC, LoadGlobalWithVector) \ |
65 ASH(LoadIC_Getter_ForDeopt, LOAD_IC, kNoExtraICState) \ | 63 ASH(LoadIC_Getter_ForDeopt, LOAD_IC, kNoExtraICState) \ |
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
670 | 668 |
671 friend class Isolate; | 669 friend class Isolate; |
672 | 670 |
673 DISALLOW_COPY_AND_ASSIGN(Builtins); | 671 DISALLOW_COPY_AND_ASSIGN(Builtins); |
674 }; | 672 }; |
675 | 673 |
676 } // namespace internal | 674 } // namespace internal |
677 } // namespace v8 | 675 } // namespace v8 |
678 | 676 |
679 #endif // V8_BUILTINS_BUILTINS_H_ | 677 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |