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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 // DBG: Builtin in platform-dependent assembly, used by the debugger. | 46 // DBG: Builtin in platform-dependent assembly, used by the debugger. |
47 // Args: name | 47 // Args: name |
48 #define BUILTIN_LIST(CPP, API, TFJ, TFS, ASM, ASH, DBG) \ | 48 #define BUILTIN_LIST(CPP, API, TFJ, TFS, ASM, ASH, DBG) \ |
49 ASM(Abort) \ | 49 ASM(Abort) \ |
50 /* Code aging */ \ | 50 /* Code aging */ \ |
51 CODE_AGE_LIST_WITH_ARG(DECLARE_CODE_AGE_BUILTIN, ASM) \ | 51 CODE_AGE_LIST_WITH_ARG(DECLARE_CODE_AGE_BUILTIN, ASM) \ |
52 \ | 52 \ |
53 /* Declared first for dependency reasons */ \ | 53 /* Declared first for dependency reasons */ \ |
54 ASM(CompileLazy) \ | 54 ASM(CompileLazy) \ |
55 TFS(ToObject, BUILTIN, kNoExtraICState, TypeConversion) \ | 55 TFS(ToObject, BUILTIN, kNoExtraICState, TypeConversion) \ |
| 56 TFS(FastNewObject, BUILTIN, kNoExtraICState, FastNewObject) \ |
56 \ | 57 \ |
57 /* Calls */ \ | 58 /* Calls */ \ |
58 ASM(ArgumentsAdaptorTrampoline) \ | 59 ASM(ArgumentsAdaptorTrampoline) \ |
59 /* ES6 section 9.2.1 [[Call]] ( thisArgument, argumentsList) */ \ | 60 /* ES6 section 9.2.1 [[Call]] ( thisArgument, argumentsList) */ \ |
60 ASM(CallFunction_ReceiverIsNullOrUndefined) \ | 61 ASM(CallFunction_ReceiverIsNullOrUndefined) \ |
61 ASM(CallFunction_ReceiverIsNotNullOrUndefined) \ | 62 ASM(CallFunction_ReceiverIsNotNullOrUndefined) \ |
62 ASM(CallFunction_ReceiverIsAny) \ | 63 ASM(CallFunction_ReceiverIsAny) \ |
63 ASM(TailCallFunction_ReceiverIsNullOrUndefined) \ | 64 ASM(TailCallFunction_ReceiverIsNullOrUndefined) \ |
64 ASM(TailCallFunction_ReceiverIsNotNullOrUndefined) \ | 65 ASM(TailCallFunction_ReceiverIsNotNullOrUndefined) \ |
65 ASM(TailCallFunction_ReceiverIsAny) \ | 66 ASM(TailCallFunction_ReceiverIsAny) \ |
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
856 | 857 |
857 friend class Isolate; | 858 friend class Isolate; |
858 | 859 |
859 DISALLOW_COPY_AND_ASSIGN(Builtins); | 860 DISALLOW_COPY_AND_ASSIGN(Builtins); |
860 }; | 861 }; |
861 | 862 |
862 } // namespace internal | 863 } // namespace internal |
863 } // namespace v8 | 864 } // namespace v8 |
864 | 865 |
865 #endif // V8_BUILTINS_BUILTINS_H_ | 866 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |