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/globals.h" | 9 #include "src/globals.h" |
10 | 10 |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 ASM(AllocateInOldSpace) \ | 189 ASM(AllocateInOldSpace) \ |
190 \ | 190 \ |
191 /* TurboFan support builtins */ \ | 191 /* TurboFan support builtins */ \ |
192 TFS(CopyFastSmiOrObjectElements, BUILTIN, kNoExtraICState, \ | 192 TFS(CopyFastSmiOrObjectElements, BUILTIN, kNoExtraICState, \ |
193 CopyFastSmiOrObjectElements, 1) \ | 193 CopyFastSmiOrObjectElements, 1) \ |
194 TFS(GrowFastDoubleElements, BUILTIN, kNoExtraICState, GrowArrayElements, 1) \ | 194 TFS(GrowFastDoubleElements, BUILTIN, kNoExtraICState, GrowArrayElements, 1) \ |
195 TFS(GrowFastSmiOrObjectElements, BUILTIN, kNoExtraICState, \ | 195 TFS(GrowFastSmiOrObjectElements, BUILTIN, kNoExtraICState, \ |
196 GrowArrayElements, 1) \ | 196 GrowArrayElements, 1) \ |
197 TFS(NewUnmappedArgumentsElements, BUILTIN, kNoExtraICState, \ | 197 TFS(NewUnmappedArgumentsElements, BUILTIN, kNoExtraICState, \ |
198 NewArgumentsElements, 1) \ | 198 NewArgumentsElements, 1) \ |
199 TFS(NewRestParameterElements, BUILTIN, kNoExtraICState, \ | |
200 NewArgumentsElements, 1) \ | |
201 \ | 199 \ |
202 /* Debugger */ \ | 200 /* Debugger */ \ |
203 DBG(FrameDropperTrampoline) \ | 201 DBG(FrameDropperTrampoline) \ |
204 DBG(HandleDebuggerStatement) \ | 202 DBG(HandleDebuggerStatement) \ |
205 DBG(Return_DebugBreak) \ | 203 DBG(Return_DebugBreak) \ |
206 DBG(Slot_DebugBreak) \ | 204 DBG(Slot_DebugBreak) \ |
207 \ | 205 \ |
208 /* Type conversions */ \ | 206 /* Type conversions */ \ |
209 TFS(ToBoolean, BUILTIN, kNoExtraICState, TypeConversion, 1) \ | 207 TFS(ToBoolean, BUILTIN, kNoExtraICState, TypeConversion, 1) \ |
210 TFS(OrdinaryToPrimitive_Number, BUILTIN, kNoExtraICState, TypeConversion, 1) \ | 208 TFS(OrdinaryToPrimitive_Number, BUILTIN, kNoExtraICState, TypeConversion, 1) \ |
(...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
954 | 952 |
955 friend class Isolate; | 953 friend class Isolate; |
956 | 954 |
957 DISALLOW_COPY_AND_ASSIGN(Builtins); | 955 DISALLOW_COPY_AND_ASSIGN(Builtins); |
958 }; | 956 }; |
959 | 957 |
960 } // namespace internal | 958 } // namespace internal |
961 } // namespace v8 | 959 } // namespace v8 |
962 | 960 |
963 #endif // V8_BUILTINS_BUILTINS_H_ | 961 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |