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 \ |
162 /* Debugger */ \ | 165 /* Debugger */ \ |
163 DBG(FrameDropper_LiveEdit) \ | 166 DBG(FrameDropper_LiveEdit) \ |
164 DBG(Return_DebugBreak) \ | 167 DBG(Return_DebugBreak) \ |
165 DBG(Slot_DebugBreak) \ | 168 DBG(Slot_DebugBreak) \ |
166 \ | 169 \ |
167 /* Type conversions */ \ | 170 /* Type conversions */ \ |
168 TFS(ToBoolean, BUILTIN, kNoExtraICState, TypeConversion) \ | 171 TFS(ToBoolean, BUILTIN, kNoExtraICState, TypeConversion) \ |
169 TFS(OrdinaryToPrimitive_Number, BUILTIN, kNoExtraICState, TypeConversion) \ | 172 TFS(OrdinaryToPrimitive_Number, BUILTIN, kNoExtraICState, TypeConversion) \ |
170 TFS(OrdinaryToPrimitive_String, BUILTIN, kNoExtraICState, TypeConversion) \ | 173 TFS(OrdinaryToPrimitive_String, BUILTIN, kNoExtraICState, TypeConversion) \ |
171 TFS(NonPrimitiveToPrimitive_Default, BUILTIN, kNoExtraICState, \ | 174 TFS(NonPrimitiveToPrimitive_Default, BUILTIN, kNoExtraICState, \ |
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
650 | 653 |
651 friend class Isolate; | 654 friend class Isolate; |
652 | 655 |
653 DISALLOW_COPY_AND_ASSIGN(Builtins); | 656 DISALLOW_COPY_AND_ASSIGN(Builtins); |
654 }; | 657 }; |
655 | 658 |
656 } // namespace internal | 659 } // namespace internal |
657 } // namespace v8 | 660 } // namespace v8 |
658 | 661 |
659 #endif // V8_BUILTINS_BUILTINS_H_ | 662 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |