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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 ASH(KeyedStoreIC_Slow, HANDLER, Code::KEYED_STORE_IC) \ | 61 ASH(KeyedStoreIC_Slow, HANDLER, Code::KEYED_STORE_IC) \ |
62 ASH(LoadIC_Normal, HANDLER, Code::LOAD_IC) \ | 62 ASH(LoadIC_Normal, HANDLER, Code::LOAD_IC) \ |
63 ASH(StoreIC_Normal, HANDLER, Code::STORE_IC) \ | 63 ASH(StoreIC_Normal, HANDLER, Code::STORE_IC) \ |
64 TFS(LoadGlobalIC_Miss, BUILTIN, kNoExtraICState, LoadGlobalWithVector) \ | 64 TFS(LoadGlobalIC_Miss, BUILTIN, kNoExtraICState, LoadGlobalWithVector) \ |
65 TFS(LoadGlobalIC_SlowNotInsideTypeof, HANDLER, Code::LOAD_GLOBAL_IC, \ | 65 TFS(LoadGlobalIC_SlowNotInsideTypeof, HANDLER, Code::LOAD_GLOBAL_IC, \ |
66 LoadGlobalWithVector) \ | 66 LoadGlobalWithVector) \ |
67 TFS(LoadGlobalIC_SlowInsideTypeof, HANDLER, Code::LOAD_GLOBAL_IC, \ | 67 TFS(LoadGlobalIC_SlowInsideTypeof, HANDLER, Code::LOAD_GLOBAL_IC, \ |
68 LoadGlobalWithVector) \ | 68 LoadGlobalWithVector) \ |
69 TFS(LoadIC_Miss, BUILTIN, kNoExtraICState, LoadWithVector) \ | 69 TFS(LoadIC_Miss, BUILTIN, kNoExtraICState, LoadWithVector) \ |
70 TFS(LoadIC_Slow, HANDLER, Code::LOAD_IC, LoadWithVector) \ | 70 TFS(LoadIC_Slow, HANDLER, Code::LOAD_IC, LoadWithVector) \ |
71 TFS(StoreIC_Miss, BUILTIN, kNoExtraICState, VectorStoreIC) \ | 71 TFS(StoreIC_Miss, BUILTIN, kNoExtraICState, StoreWithVector) \ |
72 TFS(StoreIC_SlowSloppy, HANDLER, Code::STORE_IC, VectorStoreIC) \ | 72 TFS(StoreIC_SlowSloppy, HANDLER, Code::STORE_IC, StoreWithVector) \ |
73 TFS(StoreIC_SlowStrict, HANDLER, Code::STORE_IC, VectorStoreIC) \ | 73 TFS(StoreIC_SlowStrict, HANDLER, Code::STORE_IC, StoreWithVector) \ |
74 /* Code aging */ \ | 74 /* Code aging */ \ |
75 CODE_AGE_LIST_WITH_ARG(DECLARE_CODE_AGE_BUILTIN, ASM) \ | 75 CODE_AGE_LIST_WITH_ARG(DECLARE_CODE_AGE_BUILTIN, ASM) \ |
76 /* Calls */ \ | 76 /* Calls */ \ |
77 ASM(ArgumentsAdaptorTrampoline) \ | 77 ASM(ArgumentsAdaptorTrampoline) \ |
78 ASM(CallFunction_ReceiverIsNullOrUndefined) \ | 78 ASM(CallFunction_ReceiverIsNullOrUndefined) \ |
79 ASM(CallFunction_ReceiverIsNotNullOrUndefined) \ | 79 ASM(CallFunction_ReceiverIsNotNullOrUndefined) \ |
80 ASM(CallFunction_ReceiverIsAny) \ | 80 ASM(CallFunction_ReceiverIsAny) \ |
81 ASM(TailCallFunction_ReceiverIsNullOrUndefined) \ | 81 ASM(TailCallFunction_ReceiverIsNullOrUndefined) \ |
82 ASM(TailCallFunction_ReceiverIsNotNullOrUndefined) \ | 82 ASM(TailCallFunction_ReceiverIsNotNullOrUndefined) \ |
83 ASM(TailCallFunction_ReceiverIsAny) \ | 83 ASM(TailCallFunction_ReceiverIsAny) \ |
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
831 friend class BuiltinFunctionTable; | 831 friend class BuiltinFunctionTable; |
832 friend class Isolate; | 832 friend class Isolate; |
833 | 833 |
834 DISALLOW_COPY_AND_ASSIGN(Builtins); | 834 DISALLOW_COPY_AND_ASSIGN(Builtins); |
835 }; | 835 }; |
836 | 836 |
837 } // namespace internal | 837 } // namespace internal |
838 } // namespace v8 | 838 } // namespace v8 |
839 | 839 |
840 #endif // V8_BUILTINS_BUILTINS_H_ | 840 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |