OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_OBJECTS_H_ | 5 #ifndef V8_OBJECTS_H_ |
6 #define V8_OBJECTS_H_ | 6 #define V8_OBJECTS_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 | 9 |
10 #include "src/assert-scope.h" | 10 #include "src/assert-scope.h" |
(...skipping 6898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6909 | 6909 |
6910 // Indicates that code for this function cannot be compiled with Crankshaft. | 6910 // Indicates that code for this function cannot be compiled with Crankshaft. |
6911 DECL_BOOLEAN_ACCESSORS(dont_crankshaft) | 6911 DECL_BOOLEAN_ACCESSORS(dont_crankshaft) |
6912 | 6912 |
6913 // Indicates that code for this function cannot be flushed. | 6913 // Indicates that code for this function cannot be flushed. |
6914 DECL_BOOLEAN_ACCESSORS(dont_flush) | 6914 DECL_BOOLEAN_ACCESSORS(dont_flush) |
6915 | 6915 |
6916 // Indicates that this function is a generator. | 6916 // Indicates that this function is a generator. |
6917 DECL_BOOLEAN_ACCESSORS(is_generator) | 6917 DECL_BOOLEAN_ACCESSORS(is_generator) |
6918 | 6918 |
| 6919 // Indicates that this function is an async function. |
| 6920 DECL_BOOLEAN_ACCESSORS(is_async) |
| 6921 |
6919 // Indicates that this function is an arrow function. | 6922 // Indicates that this function is an arrow function. |
6920 DECL_BOOLEAN_ACCESSORS(is_arrow) | 6923 DECL_BOOLEAN_ACCESSORS(is_arrow) |
6921 | 6924 |
6922 // Indicates that this function is a concise method. | 6925 // Indicates that this function is a concise method. |
6923 DECL_BOOLEAN_ACCESSORS(is_concise_method) | 6926 DECL_BOOLEAN_ACCESSORS(is_concise_method) |
6924 | 6927 |
6925 // Indicates that this function is a getter. | 6928 // Indicates that this function is a getter. |
6926 DECL_BOOLEAN_ACCESSORS(is_getter_function) | 6929 DECL_BOOLEAN_ACCESSORS(is_getter_function) |
6927 | 6930 |
6928 // Indicates that this function is a setter. | 6931 // Indicates that this function is a setter. |
(...skipping 3852 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10781 } | 10784 } |
10782 return value; | 10785 return value; |
10783 } | 10786 } |
10784 }; | 10787 }; |
10785 | 10788 |
10786 | 10789 |
10787 } // NOLINT, false-positive due to second-order macros. | 10790 } // NOLINT, false-positive due to second-order macros. |
10788 } // NOLINT, false-positive due to second-order macros. | 10791 } // NOLINT, false-positive due to second-order macros. |
10789 | 10792 |
10790 #endif // V8_OBJECTS_H_ | 10793 #endif // V8_OBJECTS_H_ |
OLD | NEW |