OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 // Review notes: | 5 // Review notes: |
6 // | 6 // |
7 // - The use of macros in these inline functions may seem superfluous | 7 // - The use of macros in these inline functions may seem superfluous |
8 // but it is absolutely needed to make sure gcc generates optimal | 8 // but it is absolutely needed to make sure gcc generates optimal |
9 // code. gcc is not happy when attempting to inline too deep. | 9 // code. gcc is not happy when attempting to inline too deep. |
10 // | 10 // |
(...skipping 5959 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5970 name_should_print_as_anonymous, | 5970 name_should_print_as_anonymous, |
5971 kNameShouldPrintAsAnonymous) | 5971 kNameShouldPrintAsAnonymous) |
5972 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, bound, kBoundFunction) | 5972 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, bound, kBoundFunction) |
5973 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous, kIsAnonymous) | 5973 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous, kIsAnonymous) |
5974 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction) | 5974 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction) |
5975 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_crankshaft, | 5975 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_crankshaft, |
5976 kDontCrankshaft) | 5976 kDontCrankshaft) |
5977 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_flush, kDontFlush) | 5977 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_flush, kDontFlush) |
5978 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_arrow, kIsArrow) | 5978 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_arrow, kIsArrow) |
5979 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_generator, kIsGenerator) | 5979 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_generator, kIsGenerator) |
| 5980 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_async, kIsAsync) |
5980 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_concise_method, | 5981 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_concise_method, |
5981 kIsConciseMethod) | 5982 kIsConciseMethod) |
5982 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_accessor_function, | 5983 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_accessor_function, |
5983 kIsAccessorFunction) | 5984 kIsAccessorFunction) |
5984 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_default_constructor, | 5985 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_default_constructor, |
5985 kIsDefaultConstructor) | 5986 kIsDefaultConstructor) |
5986 | 5987 |
5987 ACCESSORS(CodeCache, default_cache, FixedArray, kDefaultCacheOffset) | 5988 ACCESSORS(CodeCache, default_cache, FixedArray, kDefaultCacheOffset) |
5988 ACCESSORS(CodeCache, normal_type_cache, Object, kNormalTypeCacheOffset) | 5989 ACCESSORS(CodeCache, normal_type_cache, Object, kNormalTypeCacheOffset) |
5989 | 5990 |
(...skipping 2142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8132 #undef WRITE_INT64_FIELD | 8133 #undef WRITE_INT64_FIELD |
8133 #undef READ_BYTE_FIELD | 8134 #undef READ_BYTE_FIELD |
8134 #undef WRITE_BYTE_FIELD | 8135 #undef WRITE_BYTE_FIELD |
8135 #undef NOBARRIER_READ_BYTE_FIELD | 8136 #undef NOBARRIER_READ_BYTE_FIELD |
8136 #undef NOBARRIER_WRITE_BYTE_FIELD | 8137 #undef NOBARRIER_WRITE_BYTE_FIELD |
8137 | 8138 |
8138 } // namespace internal | 8139 } // namespace internal |
8139 } // namespace v8 | 8140 } // namespace v8 |
8140 | 8141 |
8141 #endif // V8_OBJECTS_INL_H_ | 8142 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |