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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 TFS(ToBoolean, BUILTIN, kNoExtraICState, TypeConversion) \ | 176 TFS(ToBoolean, BUILTIN, kNoExtraICState, TypeConversion) \ |
177 TFS(OrdinaryToPrimitive_Number, BUILTIN, kNoExtraICState, TypeConversion) \ | 177 TFS(OrdinaryToPrimitive_Number, BUILTIN, kNoExtraICState, TypeConversion) \ |
178 TFS(OrdinaryToPrimitive_String, BUILTIN, kNoExtraICState, TypeConversion) \ | 178 TFS(OrdinaryToPrimitive_String, BUILTIN, kNoExtraICState, TypeConversion) \ |
179 TFS(NonPrimitiveToPrimitive_Default, BUILTIN, kNoExtraICState, \ | 179 TFS(NonPrimitiveToPrimitive_Default, BUILTIN, kNoExtraICState, \ |
180 TypeConversion) \ | 180 TypeConversion) \ |
181 TFS(NonPrimitiveToPrimitive_Number, BUILTIN, kNoExtraICState, \ | 181 TFS(NonPrimitiveToPrimitive_Number, BUILTIN, kNoExtraICState, \ |
182 TypeConversion) \ | 182 TypeConversion) \ |
183 TFS(NonPrimitiveToPrimitive_String, BUILTIN, kNoExtraICState, \ | 183 TFS(NonPrimitiveToPrimitive_String, BUILTIN, kNoExtraICState, \ |
184 TypeConversion) \ | 184 TypeConversion) \ |
185 TFS(StringToNumber, BUILTIN, kNoExtraICState, TypeConversion) \ | 185 TFS(StringToNumber, BUILTIN, kNoExtraICState, TypeConversion) \ |
| 186 TFS(ToName, BUILTIN, kNoExtraICState, TypeConversion) \ |
186 TFS(NonNumberToNumber, BUILTIN, kNoExtraICState, TypeConversion) \ | 187 TFS(NonNumberToNumber, BUILTIN, kNoExtraICState, TypeConversion) \ |
187 ASM(ToNumber) \ | 188 ASM(ToNumber) \ |
188 \ | 189 \ |
189 /* Built-in functions for Javascript */ \ | 190 /* Built-in functions for Javascript */ \ |
190 /* Special internal builtins */ \ | 191 /* Special internal builtins */ \ |
191 CPP(EmptyFunction) \ | 192 CPP(EmptyFunction) \ |
192 CPP(Illegal) \ | 193 CPP(Illegal) \ |
193 CPP(RestrictedFunctionPropertiesThrower) \ | 194 CPP(RestrictedFunctionPropertiesThrower) \ |
194 CPP(RestrictedStrictArgumentsPropertiesThrower) \ | 195 CPP(RestrictedStrictArgumentsPropertiesThrower) \ |
195 CPP(UnsupportedThrower) \ | 196 CPP(UnsupportedThrower) \ |
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
702 | 703 |
703 friend class Isolate; | 704 friend class Isolate; |
704 | 705 |
705 DISALLOW_COPY_AND_ASSIGN(Builtins); | 706 DISALLOW_COPY_AND_ASSIGN(Builtins); |
706 }; | 707 }; |
707 | 708 |
708 } // namespace internal | 709 } // namespace internal |
709 } // namespace v8 | 710 } // namespace v8 |
710 | 711 |
711 #endif // V8_BUILTINS_BUILTINS_H_ | 712 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |