| 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 30 matching lines...) Expand all Loading... |
| 41 // Args: name, arguments count | 41 // Args: name, arguments count |
| 42 // TFS: Builtin in Turbofan, with CodeStub linkage. | 42 // TFS: Builtin in Turbofan, with CodeStub linkage. |
| 43 // Args: name, code kind, extra IC state, interface descriptor | 43 // Args: name, code kind, extra IC state, interface descriptor |
| 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) \ | |
| 52 /* Handlers */ \ | 51 /* Handlers */ \ |
| 53 ASM(KeyedLoadIC_Miss) \ | 52 ASM(KeyedLoadIC_Miss) \ |
| 54 ASM(KeyedStoreIC_Miss) \ | 53 ASM(KeyedStoreIC_Miss) \ |
| 55 ASH(LoadIC_Getter_ForDeopt, LOAD_IC, kNoExtraICState) \ | 54 ASH(LoadIC_Getter_ForDeopt, LOAD_IC, kNoExtraICState) \ |
| 56 ASH(KeyedLoadIC_Megamorphic, KEYED_LOAD_IC, kNoExtraICState) \ | 55 ASH(KeyedLoadIC_Megamorphic, KEYED_LOAD_IC, kNoExtraICState) \ |
| 57 ASH(StoreIC_Setter_ForDeopt, STORE_IC, StoreICState::kStrictModeState) \ | 56 ASH(StoreIC_Setter_ForDeopt, STORE_IC, StoreICState::kStrictModeState) \ |
| 58 ASH(KeyedStoreIC_Megamorphic, KEYED_STORE_IC, kNoExtraICState) \ | 57 ASH(KeyedStoreIC_Megamorphic, KEYED_STORE_IC, kNoExtraICState) \ |
| 59 ASH(KeyedStoreIC_Megamorphic_Strict, KEYED_STORE_IC, \ | 58 ASH(KeyedStoreIC_Megamorphic_Strict, KEYED_STORE_IC, \ |
| 60 StoreICState::kStrictModeState) \ | 59 StoreICState::kStrictModeState) \ |
| 61 ASH(KeyedLoadIC_Slow, HANDLER, Code::KEYED_LOAD_IC) \ | 60 ASH(KeyedLoadIC_Slow, HANDLER, Code::KEYED_LOAD_IC) \ |
| (...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 618 | 617 |
| 619 friend class Isolate; | 618 friend class Isolate; |
| 620 | 619 |
| 621 DISALLOW_COPY_AND_ASSIGN(Builtins); | 620 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 622 }; | 621 }; |
| 623 | 622 |
| 624 } // namespace internal | 623 } // namespace internal |
| 625 } // namespace v8 | 624 } // namespace v8 |
| 626 | 625 |
| 627 #endif // V8_BUILTINS_BUILTINS_H_ | 626 #endif // V8_BUILTINS_BUILTINS_H_ |
| OLD | NEW |