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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 TypeConversion) \ | 201 TypeConversion) \ |
202 TFS(NonPrimitiveToPrimitive_String, BUILTIN, kNoExtraICState, \ | 202 TFS(NonPrimitiveToPrimitive_String, BUILTIN, kNoExtraICState, \ |
203 TypeConversion) \ | 203 TypeConversion) \ |
204 TFS(StringToNumber, BUILTIN, kNoExtraICState, TypeConversion) \ | 204 TFS(StringToNumber, BUILTIN, kNoExtraICState, TypeConversion) \ |
205 TFS(ToName, BUILTIN, kNoExtraICState, TypeConversion) \ | 205 TFS(ToName, BUILTIN, kNoExtraICState, TypeConversion) \ |
206 TFS(NonNumberToNumber, BUILTIN, kNoExtraICState, TypeConversion) \ | 206 TFS(NonNumberToNumber, BUILTIN, kNoExtraICState, TypeConversion) \ |
207 TFS(ToNumber, BUILTIN, kNoExtraICState, TypeConversion) \ | 207 TFS(ToNumber, BUILTIN, kNoExtraICState, TypeConversion) \ |
208 TFS(ToString, BUILTIN, kNoExtraICState, TypeConversion) \ | 208 TFS(ToString, BUILTIN, kNoExtraICState, TypeConversion) \ |
209 TFS(ToInteger, BUILTIN, kNoExtraICState, TypeConversion) \ | 209 TFS(ToInteger, BUILTIN, kNoExtraICState, TypeConversion) \ |
210 TFS(ToLength, BUILTIN, kNoExtraICState, TypeConversion) \ | 210 TFS(ToLength, BUILTIN, kNoExtraICState, TypeConversion) \ |
| 211 TFS(ClassOf, BUILTIN, kNoExtraICState, Typeof) \ |
211 TFS(Typeof, BUILTIN, kNoExtraICState, Typeof) \ | 212 TFS(Typeof, BUILTIN, kNoExtraICState, Typeof) \ |
212 TFS(GetSuperConstructor, BUILTIN, kNoExtraICState, TypeConversion) \ | 213 TFS(GetSuperConstructor, BUILTIN, kNoExtraICState, TypeConversion) \ |
213 \ | 214 \ |
214 /* Handlers */ \ | 215 /* Handlers */ \ |
215 TFS(LoadICProtoArray, HANDLER, Code::LOAD_IC, LoadICProtoArray) \ | 216 TFS(LoadICProtoArray, HANDLER, Code::LOAD_IC, LoadICProtoArray) \ |
216 TFS(LoadICProtoArrayThrowIfNonexistent, HANDLER, Code::LOAD_IC, \ | 217 TFS(LoadICProtoArrayThrowIfNonexistent, HANDLER, Code::LOAD_IC, \ |
217 LoadICProtoArray) \ | 218 LoadICProtoArray) \ |
218 TFS(KeyedLoadIC_Megamorphic, KEYED_LOAD_IC, kNoExtraICState, LoadWithVector) \ | 219 TFS(KeyedLoadIC_Megamorphic, KEYED_LOAD_IC, kNoExtraICState, LoadWithVector) \ |
219 TFS(KeyedLoadIC_Miss, BUILTIN, kNoExtraICState, LoadWithVector) \ | 220 TFS(KeyedLoadIC_Miss, BUILTIN, kNoExtraICState, LoadWithVector) \ |
220 TFS(KeyedLoadIC_Slow, HANDLER, Code::KEYED_LOAD_IC, LoadWithVector) \ | 221 TFS(KeyedLoadIC_Slow, HANDLER, Code::KEYED_LOAD_IC, LoadWithVector) \ |
(...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
928 | 929 |
929 friend class Isolate; | 930 friend class Isolate; |
930 | 931 |
931 DISALLOW_COPY_AND_ASSIGN(Builtins); | 932 DISALLOW_COPY_AND_ASSIGN(Builtins); |
932 }; | 933 }; |
933 | 934 |
934 } // namespace internal | 935 } // namespace internal |
935 } // namespace v8 | 936 } // namespace v8 |
936 | 937 |
937 #endif // V8_BUILTINS_BUILTINS_H_ | 938 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |