| 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 /* Adapters for Turbofan into runtime */ \ | 144 /* Adapters for Turbofan into runtime */ \ |
| 145 ASM(AllocateInNewSpace) \ | 145 ASM(AllocateInNewSpace) \ |
| 146 ASM(AllocateInOldSpace) \ | 146 ASM(AllocateInOldSpace) \ |
| 147 \ | 147 \ |
| 148 /* TurboFan support builtins */ \ | 148 /* TurboFan support builtins */ \ |
| 149 TFS(CopyFastSmiOrObjectElements, BUILTIN, kNoExtraICState, \ | 149 TFS(CopyFastSmiOrObjectElements, BUILTIN, kNoExtraICState, \ |
| 150 CopyFastSmiOrObjectElements) \ | 150 CopyFastSmiOrObjectElements) \ |
| 151 TFS(GrowFastDoubleElements, BUILTIN, kNoExtraICState, GrowArrayElements) \ | 151 TFS(GrowFastDoubleElements, BUILTIN, kNoExtraICState, GrowArrayElements) \ |
| 152 TFS(GrowFastSmiOrObjectElements, BUILTIN, kNoExtraICState, \ | 152 TFS(GrowFastSmiOrObjectElements, BUILTIN, kNoExtraICState, \ |
| 153 GrowArrayElements) \ | 153 GrowArrayElements) \ |
| 154 TFS(NewUnmappedArgumentsElements, BUILTIN, kNoExtraICState, \ |
| 155 NewArgumentsElements) \ |
| 156 TFS(NewRestParameterElements, BUILTIN, kNoExtraICState, \ |
| 157 NewArgumentsElements) \ |
| 154 \ | 158 \ |
| 155 /* Debugger */ \ | 159 /* Debugger */ \ |
| 156 DBG(FrameDropper_LiveEdit) \ | 160 DBG(FrameDropper_LiveEdit) \ |
| 157 DBG(Return_DebugBreak) \ | 161 DBG(Return_DebugBreak) \ |
| 158 DBG(Slot_DebugBreak) \ | 162 DBG(Slot_DebugBreak) \ |
| 159 \ | 163 \ |
| 160 /* Type conversions */ \ | 164 /* Type conversions */ \ |
| 161 TFS(ToBoolean, BUILTIN, kNoExtraICState, TypeConversion) \ | 165 TFS(ToBoolean, BUILTIN, kNoExtraICState, TypeConversion) \ |
| 162 TFS(OrdinaryToPrimitive_Number, BUILTIN, kNoExtraICState, TypeConversion) \ | 166 TFS(OrdinaryToPrimitive_Number, BUILTIN, kNoExtraICState, TypeConversion) \ |
| 163 TFS(OrdinaryToPrimitive_String, BUILTIN, kNoExtraICState, TypeConversion) \ | 167 TFS(OrdinaryToPrimitive_String, BUILTIN, kNoExtraICState, TypeConversion) \ |
| (...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 850 | 854 |
| 851 friend class Isolate; | 855 friend class Isolate; |
| 852 | 856 |
| 853 DISALLOW_COPY_AND_ASSIGN(Builtins); | 857 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 854 }; | 858 }; |
| 855 | 859 |
| 856 } // namespace internal | 860 } // namespace internal |
| 857 } // namespace v8 | 861 } // namespace v8 |
| 858 | 862 |
| 859 #endif // V8_BUILTINS_BUILTINS_H_ | 863 #endif // V8_BUILTINS_BUILTINS_H_ |
| OLD | NEW |