| 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 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 #define CODE_AGE_LIST(V) CODE_AGE_LIST_WITH_ARG(CODE_AGE_LIST_IGNORE_ARG, V) | 23 #define CODE_AGE_LIST(V) CODE_AGE_LIST_WITH_ARG(CODE_AGE_LIST_IGNORE_ARG, V) |
| 24 | 24 |
| 25 #define CODE_AGE_LIST_COMPLETE(V) \ | 25 #define CODE_AGE_LIST_COMPLETE(V) \ |
| 26 V(ToBeExecutedOnce) \ | 26 V(ToBeExecutedOnce) \ |
| 27 V(NotExecuted) \ | 27 V(NotExecuted) \ |
| 28 V(ExecutedOnce) \ | 28 V(ExecutedOnce) \ |
| 29 V(NoAge) \ | 29 V(NoAge) \ |
| 30 CODE_AGE_LIST_WITH_ARG(CODE_AGE_LIST_IGNORE_ARG, V) | 30 CODE_AGE_LIST_WITH_ARG(CODE_AGE_LIST_IGNORE_ARG, V) |
| 31 | 31 |
| 32 #define DECLARE_CODE_AGE_BUILTIN(C, V) \ | 32 #define DECLARE_CODE_AGE_BUILTIN(C, V) V(Make##C##CodeYoungAgain) |
| 33 V(Make##C##CodeYoungAgainOddMarking) \ | |
| 34 V(Make##C##CodeYoungAgainEvenMarking) | |
| 35 | 33 |
| 36 // CPP: Builtin in C++. Entered via BUILTIN_EXIT frame. | 34 // CPP: Builtin in C++. Entered via BUILTIN_EXIT frame. |
| 37 // Args: name | 35 // Args: name |
| 38 // API: Builtin in C++ for API callbacks. Entered via EXIT frame. | 36 // API: Builtin in C++ for API callbacks. Entered via EXIT frame. |
| 39 // Args: name | 37 // Args: name |
| 40 // TFJ: Builtin in Turbofan, with JS linkage (callable as Javascript function). | 38 // TFJ: Builtin in Turbofan, with JS linkage (callable as Javascript function). |
| 41 // Args: name, arguments count | 39 // Args: name, arguments count |
| 42 // TFS: Builtin in Turbofan, with CodeStub linkage. | 40 // TFS: Builtin in Turbofan, with CodeStub linkage. |
| 43 // Args: name, code kind, extra IC state, interface descriptor | 41 // Args: name, code kind, extra IC state, interface descriptor |
| 44 // ASM: Builtin in platform-dependent assembly. | 42 // ASM: Builtin in platform-dependent assembly. |
| (...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 838 | 836 |
| 839 friend class Isolate; | 837 friend class Isolate; |
| 840 | 838 |
| 841 DISALLOW_COPY_AND_ASSIGN(Builtins); | 839 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 842 }; | 840 }; |
| 843 | 841 |
| 844 } // namespace internal | 842 } // namespace internal |
| 845 } // namespace v8 | 843 } // namespace v8 |
| 846 | 844 |
| 847 #endif // V8_BUILTINS_BUILTINS_H_ | 845 #endif // V8_BUILTINS_BUILTINS_H_ |
| OLD | NEW |