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 6891 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6902 | 6902 |
6903 // Indicates that code for this function cannot be compiled with Crankshaft. | 6903 // Indicates that code for this function cannot be compiled with Crankshaft. |
6904 DECL_BOOLEAN_ACCESSORS(dont_crankshaft) | 6904 DECL_BOOLEAN_ACCESSORS(dont_crankshaft) |
6905 | 6905 |
6906 // Indicates that code for this function cannot be flushed. | 6906 // Indicates that code for this function cannot be flushed. |
6907 DECL_BOOLEAN_ACCESSORS(dont_flush) | 6907 DECL_BOOLEAN_ACCESSORS(dont_flush) |
6908 | 6908 |
6909 // Indicates that this function is a generator. | 6909 // Indicates that this function is a generator. |
6910 DECL_BOOLEAN_ACCESSORS(is_generator) | 6910 DECL_BOOLEAN_ACCESSORS(is_generator) |
6911 | 6911 |
| 6912 // Indicates that this function is an async function. |
| 6913 DECL_BOOLEAN_ACCESSORS(is_async) |
| 6914 |
6912 // Indicates that this function is an arrow function. | 6915 // Indicates that this function is an arrow function. |
6913 DECL_BOOLEAN_ACCESSORS(is_arrow) | 6916 DECL_BOOLEAN_ACCESSORS(is_arrow) |
6914 | 6917 |
6915 // Indicates that this function is a concise method. | 6918 // Indicates that this function is a concise method. |
6916 DECL_BOOLEAN_ACCESSORS(is_concise_method) | 6919 DECL_BOOLEAN_ACCESSORS(is_concise_method) |
6917 | 6920 |
6918 // Indicates that this function is a getter. | 6921 // Indicates that this function is a getter. |
6919 DECL_BOOLEAN_ACCESSORS(is_getter_function) | 6922 DECL_BOOLEAN_ACCESSORS(is_getter_function) |
6920 | 6923 |
6921 // Indicates that this function is a setter. | 6924 // Indicates that this function is a setter. |
(...skipping 3868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10790 } | 10793 } |
10791 return value; | 10794 return value; |
10792 } | 10795 } |
10793 }; | 10796 }; |
10794 | 10797 |
10795 | 10798 |
10796 } // NOLINT, false-positive due to second-order macros. | 10799 } // NOLINT, false-positive due to second-order macros. |
10797 } // NOLINT, false-positive due to second-order macros. | 10800 } // NOLINT, false-positive due to second-order macros. |
10798 | 10801 |
10799 #endif // V8_OBJECTS_H_ | 10802 #endif // V8_OBJECTS_H_ |
OLD | NEW |