| 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 /* Type conversions */ \ | 171 /* Type conversions */ \ |
| 172 TFS(ToBoolean, BUILTIN, kNoExtraICState, TypeConversion) \ | 172 TFS(ToBoolean, BUILTIN, kNoExtraICState, TypeConversion) \ |
| 173 TFS(OrdinaryToPrimitive_Number, BUILTIN, kNoExtraICState, TypeConversion) \ | 173 TFS(OrdinaryToPrimitive_Number, BUILTIN, kNoExtraICState, TypeConversion) \ |
| 174 TFS(OrdinaryToPrimitive_String, BUILTIN, kNoExtraICState, TypeConversion) \ | 174 TFS(OrdinaryToPrimitive_String, BUILTIN, kNoExtraICState, TypeConversion) \ |
| 175 TFS(NonPrimitiveToPrimitive_Default, BUILTIN, kNoExtraICState, \ | 175 TFS(NonPrimitiveToPrimitive_Default, BUILTIN, kNoExtraICState, \ |
| 176 TypeConversion) \ | 176 TypeConversion) \ |
| 177 TFS(NonPrimitiveToPrimitive_Number, BUILTIN, kNoExtraICState, \ | 177 TFS(NonPrimitiveToPrimitive_Number, BUILTIN, kNoExtraICState, \ |
| 178 TypeConversion) \ | 178 TypeConversion) \ |
| 179 TFS(NonPrimitiveToPrimitive_String, BUILTIN, kNoExtraICState, \ | 179 TFS(NonPrimitiveToPrimitive_String, BUILTIN, kNoExtraICState, \ |
| 180 TypeConversion) \ | 180 TypeConversion) \ |
| 181 ASM(StringToNumber) \ | 181 TFS(StringToNumber, BUILTIN, kNoExtraICState, TypeConversion) \ |
| 182 TFS(NonNumberToNumber, BUILTIN, kNoExtraICState, TypeConversion) \ | 182 TFS(NonNumberToNumber, BUILTIN, kNoExtraICState, TypeConversion) \ |
| 183 ASM(ToNumber) \ | 183 ASM(ToNumber) \ |
| 184 \ | 184 \ |
| 185 /* Built-in functions for Javascript */ \ | 185 /* Built-in functions for Javascript */ \ |
| 186 /* Special internal builtins */ \ | 186 /* Special internal builtins */ \ |
| 187 CPP(EmptyFunction) \ | 187 CPP(EmptyFunction) \ |
| 188 CPP(Illegal) \ | 188 CPP(Illegal) \ |
| 189 CPP(RestrictedFunctionPropertiesThrower) \ | 189 CPP(RestrictedFunctionPropertiesThrower) \ |
| 190 CPP(RestrictedStrictArgumentsPropertiesThrower) \ | 190 CPP(RestrictedStrictArgumentsPropertiesThrower) \ |
| 191 CPP(UnsupportedThrower) \ | 191 CPP(UnsupportedThrower) \ |
| (...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 659 | 659 |
| 660 friend class Isolate; | 660 friend class Isolate; |
| 661 | 661 |
| 662 DISALLOW_COPY_AND_ASSIGN(Builtins); | 662 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 663 }; | 663 }; |
| 664 | 664 |
| 665 } // namespace internal | 665 } // namespace internal |
| 666 } // namespace v8 | 666 } // namespace v8 |
| 667 | 667 |
| 668 #endif // V8_BUILTINS_BUILTINS_H_ | 668 #endif // V8_BUILTINS_BUILTINS_H_ |
| OLD | NEW |