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/globals.h" |
10 | 10 |
11 namespace v8 { | 11 namespace v8 { |
12 namespace internal { | 12 namespace internal { |
13 | 13 |
| 14 template <typename T> |
| 15 class Handle; |
| 16 class Isolate; |
| 17 |
14 #define CODE_AGE_LIST_WITH_ARG(V, A) \ | 18 #define CODE_AGE_LIST_WITH_ARG(V, A) \ |
15 V(Quadragenarian, A) \ | 19 V(Quadragenarian, A) \ |
16 V(Quinquagenarian, A) \ | 20 V(Quinquagenarian, A) \ |
17 V(Sexagenarian, A) \ | 21 V(Sexagenarian, A) \ |
18 V(Septuagenarian, A) \ | 22 V(Septuagenarian, A) \ |
19 V(Octogenarian, A) | 23 V(Octogenarian, A) |
20 | 24 |
21 #define CODE_AGE_LIST_IGNORE_ARG(X, V) V(X) | 25 #define CODE_AGE_LIST_IGNORE_ARG(X, V) V(X) |
22 | 26 |
23 #define CODE_AGE_LIST(V) CODE_AGE_LIST_WITH_ARG(CODE_AGE_LIST_IGNORE_ARG, V) | 27 #define CODE_AGE_LIST(V) CODE_AGE_LIST_WITH_ARG(CODE_AGE_LIST_IGNORE_ARG, V) |
(...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
933 | 937 |
934 friend class Isolate; | 938 friend class Isolate; |
935 | 939 |
936 DISALLOW_COPY_AND_ASSIGN(Builtins); | 940 DISALLOW_COPY_AND_ASSIGN(Builtins); |
937 }; | 941 }; |
938 | 942 |
939 } // namespace internal | 943 } // namespace internal |
940 } // namespace v8 | 944 } // namespace v8 |
941 | 945 |
942 #endif // V8_BUILTINS_BUILTINS_H_ | 946 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |