Chromium Code Reviews| 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 6828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 6839 | 6839 |
| 6840 // Indicates that code for this function cannot be compiled with Crankshaft. | 6840 // Indicates that code for this function cannot be compiled with Crankshaft. |
| 6841 DECL_BOOLEAN_ACCESSORS(dont_crankshaft) | 6841 DECL_BOOLEAN_ACCESSORS(dont_crankshaft) |
| 6842 | 6842 |
| 6843 // Indicates that code for this function cannot be flushed. | 6843 // Indicates that code for this function cannot be flushed. |
| 6844 DECL_BOOLEAN_ACCESSORS(dont_flush) | 6844 DECL_BOOLEAN_ACCESSORS(dont_flush) |
| 6845 | 6845 |
| 6846 // Indicates that this function is a generator. | 6846 // Indicates that this function is a generator. |
| 6847 DECL_BOOLEAN_ACCESSORS(is_generator) | 6847 DECL_BOOLEAN_ACCESSORS(is_generator) |
| 6848 | 6848 |
| 6849 // Indicates that this function is an async function. | |
| 6850 DECL_BOOLEAN_ACCESSORS(is_async) | |
|
Dan Ehrenberg
2016/05/04 22:52:36
Maybe make an accessor which checks whether a Shar
| |
| 6851 | |
| 6849 // Indicates that this function is an arrow function. | 6852 // Indicates that this function is an arrow function. |
| 6850 DECL_BOOLEAN_ACCESSORS(is_arrow) | 6853 DECL_BOOLEAN_ACCESSORS(is_arrow) |
| 6851 | 6854 |
| 6852 // Indicates that this function is a concise method. | 6855 // Indicates that this function is a concise method. |
| 6853 DECL_BOOLEAN_ACCESSORS(is_concise_method) | 6856 DECL_BOOLEAN_ACCESSORS(is_concise_method) |
| 6854 | 6857 |
| 6855 // Indicates that this function is a getter. | 6858 // Indicates that this function is a getter. |
| 6856 DECL_BOOLEAN_ACCESSORS(is_getter_function) | 6859 DECL_BOOLEAN_ACCESSORS(is_getter_function) |
| 6857 | 6860 |
| 6858 // Indicates that this function is a setter. | 6861 // Indicates that this function is a setter. |
| (...skipping 3865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 10724 } | 10727 } |
| 10725 return value; | 10728 return value; |
| 10726 } | 10729 } |
| 10727 }; | 10730 }; |
| 10728 | 10731 |
| 10729 | 10732 |
| 10730 } // NOLINT, false-positive due to second-order macros. | 10733 } // NOLINT, false-positive due to second-order macros. |
| 10731 } // NOLINT, false-positive due to second-order macros. | 10734 } // NOLINT, false-positive due to second-order macros. |
| 10732 | 10735 |
| 10733 #endif // V8_OBJECTS_H_ | 10736 #endif // V8_OBJECTS_H_ |
| OLD | NEW |