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) \ |
51 /* Handlers */ \ | 52 /* Handlers */ \ |
52 ASM(KeyedLoadIC_Miss) \ | 53 ASM(KeyedLoadIC_Miss) \ |
53 ASM(KeyedStoreIC_Miss) \ | 54 ASM(KeyedStoreIC_Miss) \ |
54 ASH(LoadIC_Getter_ForDeopt, LOAD_IC, kNoExtraICState) \ | 55 ASH(LoadIC_Getter_ForDeopt, LOAD_IC, kNoExtraICState) \ |
55 ASH(KeyedLoadIC_Megamorphic, KEYED_LOAD_IC, kNoExtraICState) \ | 56 ASH(KeyedLoadIC_Megamorphic, KEYED_LOAD_IC, kNoExtraICState) \ |
56 ASH(StoreIC_Setter_ForDeopt, STORE_IC, StoreICState::kStrictModeState) \ | 57 ASH(StoreIC_Setter_ForDeopt, STORE_IC, StoreICState::kStrictModeState) \ |
57 ASH(KeyedStoreIC_Megamorphic, KEYED_STORE_IC, kNoExtraICState) \ | 58 ASH(KeyedStoreIC_Megamorphic, KEYED_STORE_IC, kNoExtraICState) \ |
58 ASH(KeyedStoreIC_Megamorphic_Strict, KEYED_STORE_IC, \ | 59 ASH(KeyedStoreIC_Megamorphic_Strict, KEYED_STORE_IC, \ |
59 StoreICState::kStrictModeState) \ | 60 StoreICState::kStrictModeState) \ |
60 ASH(KeyedLoadIC_Slow, HANDLER, Code::KEYED_LOAD_IC) \ | 61 ASH(KeyedLoadIC_Slow, HANDLER, Code::KEYED_LOAD_IC) \ |
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
617 | 618 |
618 friend class Isolate; | 619 friend class Isolate; |
619 | 620 |
620 DISALLOW_COPY_AND_ASSIGN(Builtins); | 621 DISALLOW_COPY_AND_ASSIGN(Builtins); |
621 }; | 622 }; |
622 | 623 |
623 } // namespace internal | 624 } // namespace internal |
624 } // namespace v8 | 625 } // namespace v8 |
625 | 626 |
626 #endif // V8_BUILTINS_BUILTINS_H_ | 627 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |