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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 /* API callback handling */ \ | 152 /* API callback handling */ \ |
153 API(HandleApiCall) \ | 153 API(HandleApiCall) \ |
154 API(HandleApiCallAsFunction) \ | 154 API(HandleApiCallAsFunction) \ |
155 API(HandleApiCallAsConstructor) \ | 155 API(HandleApiCallAsConstructor) \ |
156 ASM(HandleFastApiCall) \ | 156 ASM(HandleFastApiCall) \ |
157 \ | 157 \ |
158 /* Adapters for Turbofan into runtime */ \ | 158 /* Adapters for Turbofan into runtime */ \ |
159 ASM(AllocateInNewSpace) \ | 159 ASM(AllocateInNewSpace) \ |
160 ASM(AllocateInOldSpace) \ | 160 ASM(AllocateInOldSpace) \ |
161 \ | 161 \ |
162 /* FixedArray helpers */ \ | |
163 TFS(CopyFixedArray, BUILTIN, kNoExtraICState, CopyFixedArray) \ | |
164 \ | |
165 /* Debugger */ \ | 162 /* Debugger */ \ |
166 DBG(FrameDropper_LiveEdit) \ | 163 DBG(FrameDropper_LiveEdit) \ |
167 DBG(Return_DebugBreak) \ | 164 DBG(Return_DebugBreak) \ |
168 DBG(Slot_DebugBreak) \ | 165 DBG(Slot_DebugBreak) \ |
169 \ | 166 \ |
170 /* Type conversions */ \ | 167 /* Type conversions */ \ |
171 TFS(ToBoolean, BUILTIN, kNoExtraICState, TypeConversion) \ | 168 TFS(ToBoolean, BUILTIN, kNoExtraICState, TypeConversion) \ |
172 TFS(OrdinaryToPrimitive_Number, BUILTIN, kNoExtraICState, TypeConversion) \ | 169 TFS(OrdinaryToPrimitive_Number, BUILTIN, kNoExtraICState, TypeConversion) \ |
173 TFS(OrdinaryToPrimitive_String, BUILTIN, kNoExtraICState, TypeConversion) \ | 170 TFS(OrdinaryToPrimitive_String, BUILTIN, kNoExtraICState, TypeConversion) \ |
174 TFS(NonPrimitiveToPrimitive_Default, BUILTIN, kNoExtraICState, \ | 171 TFS(NonPrimitiveToPrimitive_Default, BUILTIN, kNoExtraICState, \ |
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
653 | 650 |
654 friend class Isolate; | 651 friend class Isolate; |
655 | 652 |
656 DISALLOW_COPY_AND_ASSIGN(Builtins); | 653 DISALLOW_COPY_AND_ASSIGN(Builtins); |
657 }; | 654 }; |
658 | 655 |
659 } // namespace internal | 656 } // namespace internal |
660 } // namespace v8 | 657 } // namespace v8 |
661 | 658 |
662 #endif // V8_BUILTINS_BUILTINS_H_ | 659 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |