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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 TFS(ToBoolean, BUILTIN, kNoExtraICState, TypeConversion) \ | 175 TFS(ToBoolean, BUILTIN, kNoExtraICState, TypeConversion) \ |
176 TFS(OrdinaryToPrimitive_Number, BUILTIN, kNoExtraICState, TypeConversion) \ | 176 TFS(OrdinaryToPrimitive_Number, BUILTIN, kNoExtraICState, TypeConversion) \ |
177 TFS(OrdinaryToPrimitive_String, BUILTIN, kNoExtraICState, TypeConversion) \ | 177 TFS(OrdinaryToPrimitive_String, BUILTIN, kNoExtraICState, TypeConversion) \ |
178 TFS(NonPrimitiveToPrimitive_Default, BUILTIN, kNoExtraICState, \ | 178 TFS(NonPrimitiveToPrimitive_Default, BUILTIN, kNoExtraICState, \ |
179 TypeConversion) \ | 179 TypeConversion) \ |
180 TFS(NonPrimitiveToPrimitive_Number, BUILTIN, kNoExtraICState, \ | 180 TFS(NonPrimitiveToPrimitive_Number, BUILTIN, kNoExtraICState, \ |
181 TypeConversion) \ | 181 TypeConversion) \ |
182 TFS(NonPrimitiveToPrimitive_String, BUILTIN, kNoExtraICState, \ | 182 TFS(NonPrimitiveToPrimitive_String, BUILTIN, kNoExtraICState, \ |
183 TypeConversion) \ | 183 TypeConversion) \ |
184 TFS(StringToNumber, BUILTIN, kNoExtraICState, TypeConversion) \ | 184 TFS(StringToNumber, BUILTIN, kNoExtraICState, TypeConversion) \ |
| 185 TFS(ToName, BUILTIN, kNoExtraICState, TypeConversion) \ |
185 TFS(NonNumberToNumber, BUILTIN, kNoExtraICState, TypeConversion) \ | 186 TFS(NonNumberToNumber, BUILTIN, kNoExtraICState, TypeConversion) \ |
186 ASM(ToNumber) \ | 187 ASM(ToNumber) \ |
187 \ | 188 \ |
188 /* Built-in functions for Javascript */ \ | 189 /* Built-in functions for Javascript */ \ |
189 /* Special internal builtins */ \ | 190 /* Special internal builtins */ \ |
190 CPP(EmptyFunction) \ | 191 CPP(EmptyFunction) \ |
191 CPP(Illegal) \ | 192 CPP(Illegal) \ |
192 CPP(RestrictedFunctionPropertiesThrower) \ | 193 CPP(RestrictedFunctionPropertiesThrower) \ |
193 CPP(RestrictedStrictArgumentsPropertiesThrower) \ | 194 CPP(RestrictedStrictArgumentsPropertiesThrower) \ |
194 CPP(UnsupportedThrower) \ | 195 CPP(UnsupportedThrower) \ |
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
691 | 692 |
692 friend class Isolate; | 693 friend class Isolate; |
693 | 694 |
694 DISALLOW_COPY_AND_ASSIGN(Builtins); | 695 DISALLOW_COPY_AND_ASSIGN(Builtins); |
695 }; | 696 }; |
696 | 697 |
697 } // namespace internal | 698 } // namespace internal |
698 } // namespace v8 | 699 } // namespace v8 |
699 | 700 |
700 #endif // V8_BUILTINS_BUILTINS_H_ | 701 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |