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 */ \ | 162 /* TurboFan support builtins */ \ |
163 TFS(CopyFixedArray, BUILTIN, kNoExtraICState, CopyFixedArray) \ | 163 TFS(CopyFastSmiOrObjectElements, BUILTIN, kNoExtraICState, \ |
| 164 CopyFastSmiOrObjectElements) \ |
| 165 TFS(GrowFastDoubleElements, BUILTIN, kNoExtraICState, GrowArrayElements) \ |
| 166 TFS(GrowFastSmiOrObjectElements, BUILTIN, kNoExtraICState, \ |
| 167 GrowArrayElements) \ |
164 \ | 168 \ |
165 /* Debugger */ \ | 169 /* Debugger */ \ |
166 DBG(FrameDropper_LiveEdit) \ | 170 DBG(FrameDropper_LiveEdit) \ |
167 DBG(Return_DebugBreak) \ | 171 DBG(Return_DebugBreak) \ |
168 DBG(Slot_DebugBreak) \ | 172 DBG(Slot_DebugBreak) \ |
169 \ | 173 \ |
170 /* Type conversions */ \ | 174 /* Type conversions */ \ |
171 TFS(ToBoolean, BUILTIN, kNoExtraICState, TypeConversion) \ | 175 TFS(ToBoolean, BUILTIN, kNoExtraICState, TypeConversion) \ |
172 TFS(OrdinaryToPrimitive_Number, BUILTIN, kNoExtraICState, TypeConversion) \ | 176 TFS(OrdinaryToPrimitive_Number, BUILTIN, kNoExtraICState, TypeConversion) \ |
173 TFS(OrdinaryToPrimitive_String, BUILTIN, kNoExtraICState, TypeConversion) \ | 177 TFS(OrdinaryToPrimitive_String, BUILTIN, kNoExtraICState, TypeConversion) \ |
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
653 | 657 |
654 friend class Isolate; | 658 friend class Isolate; |
655 | 659 |
656 DISALLOW_COPY_AND_ASSIGN(Builtins); | 660 DISALLOW_COPY_AND_ASSIGN(Builtins); |
657 }; | 661 }; |
658 | 662 |
659 } // namespace internal | 663 } // namespace internal |
660 } // namespace v8 | 664 } // namespace v8 |
661 | 665 |
662 #endif // V8_BUILTINS_BUILTINS_H_ | 666 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |