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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 TFS(StringToNumber, BUILTIN, kNoExtraICState, TypeConversion) \ | 172 TFS(StringToNumber, BUILTIN, kNoExtraICState, TypeConversion) \ |
173 TFS(ToName, BUILTIN, kNoExtraICState, TypeConversion) \ | 173 TFS(ToName, BUILTIN, kNoExtraICState, TypeConversion) \ |
174 TFS(NonNumberToNumber, BUILTIN, kNoExtraICState, TypeConversion) \ | 174 TFS(NonNumberToNumber, BUILTIN, kNoExtraICState, TypeConversion) \ |
175 TFS(ToNumber, BUILTIN, kNoExtraICState, TypeConversion) \ | 175 TFS(ToNumber, BUILTIN, kNoExtraICState, TypeConversion) \ |
176 TFS(ToString, BUILTIN, kNoExtraICState, TypeConversion) \ | 176 TFS(ToString, BUILTIN, kNoExtraICState, TypeConversion) \ |
177 TFS(ToInteger, BUILTIN, kNoExtraICState, TypeConversion) \ | 177 TFS(ToInteger, BUILTIN, kNoExtraICState, TypeConversion) \ |
178 TFS(ToLength, BUILTIN, kNoExtraICState, TypeConversion) \ | 178 TFS(ToLength, BUILTIN, kNoExtraICState, TypeConversion) \ |
179 TFS(Typeof, BUILTIN, kNoExtraICState, Typeof) \ | 179 TFS(Typeof, BUILTIN, kNoExtraICState, Typeof) \ |
180 \ | 180 \ |
181 /* Handlers */ \ | 181 /* Handlers */ \ |
182 ASH(KeyedLoadIC_Megamorphic, KEYED_LOAD_IC, kNoExtraICState) \ | |
183 TFS(KeyedLoadIC_Megamorphic_TF, KEYED_LOAD_IC, kNoExtraICState, \ | 182 TFS(KeyedLoadIC_Megamorphic_TF, KEYED_LOAD_IC, kNoExtraICState, \ |
184 LoadWithVector) \ | 183 LoadWithVector) \ |
185 ASM(KeyedLoadIC_Miss) \ | 184 ASM(KeyedLoadIC_Miss) \ |
186 ASH(KeyedLoadIC_Slow, HANDLER, Code::KEYED_LOAD_IC) \ | 185 ASH(KeyedLoadIC_Slow, HANDLER, Code::KEYED_LOAD_IC) \ |
187 ASH(KeyedStoreIC_Megamorphic, KEYED_STORE_IC, kNoExtraICState) \ | 186 ASH(KeyedStoreIC_Megamorphic, KEYED_STORE_IC, kNoExtraICState) \ |
188 ASH(KeyedStoreIC_Megamorphic_Strict, KEYED_STORE_IC, \ | 187 ASH(KeyedStoreIC_Megamorphic_Strict, KEYED_STORE_IC, \ |
189 StoreICState::kStrictModeState) \ | 188 StoreICState::kStrictModeState) \ |
190 ASM(KeyedStoreIC_Miss) \ | 189 ASM(KeyedStoreIC_Miss) \ |
191 ASH(KeyedStoreIC_Slow, HANDLER, Code::KEYED_STORE_IC) \ | 190 ASH(KeyedStoreIC_Slow, HANDLER, Code::KEYED_STORE_IC) \ |
192 TFS(LoadGlobalIC_Miss, BUILTIN, kNoExtraICState, LoadGlobalWithVector) \ | 191 TFS(LoadGlobalIC_Miss, BUILTIN, kNoExtraICState, LoadGlobalWithVector) \ |
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
816 | 815 |
817 friend class Isolate; | 816 friend class Isolate; |
818 | 817 |
819 DISALLOW_COPY_AND_ASSIGN(Builtins); | 818 DISALLOW_COPY_AND_ASSIGN(Builtins); |
820 }; | 819 }; |
821 | 820 |
822 } // namespace internal | 821 } // namespace internal |
823 } // namespace v8 | 822 } // namespace v8 |
824 | 823 |
825 #endif // V8_BUILTINS_BUILTINS_H_ | 824 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |