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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 /* Adapters for Turbofan into runtime */ \ | 156 /* Adapters for Turbofan into runtime */ \ |
157 ASM(AllocateInNewSpace) \ | 157 ASM(AllocateInNewSpace) \ |
158 ASM(AllocateInOldSpace) \ | 158 ASM(AllocateInOldSpace) \ |
159 \ | 159 \ |
160 /* Debugger */ \ | 160 /* Debugger */ \ |
161 DBG(Return_DebugBreak) \ | 161 DBG(Return_DebugBreak) \ |
162 DBG(Slot_DebugBreak) \ | 162 DBG(Slot_DebugBreak) \ |
163 DBG(FrameDropper_LiveEdit) \ | 163 DBG(FrameDropper_LiveEdit) \ |
164 \ | 164 \ |
165 /* Type conversions */ \ | 165 /* Type conversions */ \ |
| 166 TFS(ToBoolean, BUILTIN, kNoExtraICState, TypeConversion) \ |
166 TFS(OrdinaryToPrimitive_Number, BUILTIN, kNoExtraICState, TypeConversion) \ | 167 TFS(OrdinaryToPrimitive_Number, BUILTIN, kNoExtraICState, TypeConversion) \ |
167 TFS(OrdinaryToPrimitive_String, BUILTIN, kNoExtraICState, TypeConversion) \ | 168 TFS(OrdinaryToPrimitive_String, BUILTIN, kNoExtraICState, TypeConversion) \ |
168 TFS(NonPrimitiveToPrimitive_Default, BUILTIN, kNoExtraICState, \ | 169 TFS(NonPrimitiveToPrimitive_Default, BUILTIN, kNoExtraICState, \ |
169 TypeConversion) \ | 170 TypeConversion) \ |
170 TFS(NonPrimitiveToPrimitive_Number, BUILTIN, kNoExtraICState, \ | 171 TFS(NonPrimitiveToPrimitive_Number, BUILTIN, kNoExtraICState, \ |
171 TypeConversion) \ | 172 TypeConversion) \ |
172 TFS(NonPrimitiveToPrimitive_String, BUILTIN, kNoExtraICState, \ | 173 TFS(NonPrimitiveToPrimitive_String, BUILTIN, kNoExtraICState, \ |
173 TypeConversion) \ | 174 TypeConversion) \ |
174 ASM(StringToNumber) \ | 175 ASM(StringToNumber) \ |
175 TFS(NonNumberToNumber, BUILTIN, kNoExtraICState, TypeConversion) \ | 176 TFS(NonNumberToNumber, BUILTIN, kNoExtraICState, TypeConversion) \ |
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
616 | 617 |
617 friend class Isolate; | 618 friend class Isolate; |
618 | 619 |
619 DISALLOW_COPY_AND_ASSIGN(Builtins); | 620 DISALLOW_COPY_AND_ASSIGN(Builtins); |
620 }; | 621 }; |
621 | 622 |
622 } // namespace internal | 623 } // namespace internal |
623 } // namespace v8 | 624 } // namespace v8 |
624 | 625 |
625 #endif // V8_BUILTINS_BUILTINS_H_ | 626 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |