| 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) \ |
| 54 ASM(KeyedLoadIC_Miss) \ | 56 ASM(KeyedLoadIC_Miss) \ |
| 55 ASH(KeyedLoadIC_Slow, HANDLER, Code::KEYED_LOAD_IC) \ | 57 ASH(KeyedLoadIC_Slow, HANDLER, Code::KEYED_LOAD_IC) \ |
| 56 ASH(KeyedStoreIC_Megamorphic, KEYED_STORE_IC, kNoExtraICState) \ | 58 ASH(KeyedStoreIC_Megamorphic, KEYED_STORE_IC, kNoExtraICState) \ |
| 57 ASH(KeyedStoreIC_Megamorphic_Strict, KEYED_STORE_IC, \ | 59 ASH(KeyedStoreIC_Megamorphic_Strict, KEYED_STORE_IC, \ |
| 58 StoreICState::kStrictModeState) \ | 60 StoreICState::kStrictModeState) \ |
| 59 ASM(KeyedStoreIC_Miss) \ | 61 ASM(KeyedStoreIC_Miss) \ |
| 60 ASH(KeyedStoreIC_Slow, HANDLER, Code::KEYED_STORE_IC) \ | 62 ASH(KeyedStoreIC_Slow, HANDLER, Code::KEYED_STORE_IC) \ |
| 61 TFS(LoadGlobalIC_Miss, BUILTIN, kNoExtraICState, LoadGlobalWithVector) \ | 63 TFS(LoadGlobalIC_Miss, BUILTIN, kNoExtraICState, LoadGlobalWithVector) \ |
| 62 TFS(LoadGlobalIC_Slow, HANDLER, Code::LOAD_GLOBAL_IC, LoadGlobalWithVector) \ | 64 TFS(LoadGlobalIC_Slow, HANDLER, Code::LOAD_GLOBAL_IC, LoadGlobalWithVector) \ |
| 63 ASH(LoadIC_Getter_ForDeopt, LOAD_IC, kNoExtraICState) \ | 65 ASH(LoadIC_Getter_ForDeopt, LOAD_IC, kNoExtraICState) \ |
| (...skipping 653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 717 | 719 |
| 718 friend class Isolate; | 720 friend class Isolate; |
| 719 | 721 |
| 720 DISALLOW_COPY_AND_ASSIGN(Builtins); | 722 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 721 }; | 723 }; |
| 722 | 724 |
| 723 } // namespace internal | 725 } // namespace internal |
| 724 } // namespace v8 | 726 } // namespace v8 |
| 725 | 727 |
| 726 #endif // V8_BUILTINS_BUILTINS_H_ | 728 #endif // V8_BUILTINS_BUILTINS_H_ |
| OLD | NEW |