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 #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/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 6837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6848 // Indicates that the function is anonymous (the name field can be set | 6848 // Indicates that the function is anonymous (the name field can be set |
6849 // through the API, which does not change this flag). | 6849 // through the API, which does not change this flag). |
6850 DECL_BOOLEAN_ACCESSORS(is_anonymous) | 6850 DECL_BOOLEAN_ACCESSORS(is_anonymous) |
6851 | 6851 |
6852 // Is this a function or top-level/eval code. | 6852 // Is this a function or top-level/eval code. |
6853 DECL_BOOLEAN_ACCESSORS(is_function) | 6853 DECL_BOOLEAN_ACCESSORS(is_function) |
6854 | 6854 |
6855 // Indicates that code for this function cannot be compiled with Crankshaft. | 6855 // Indicates that code for this function cannot be compiled with Crankshaft. |
6856 DECL_BOOLEAN_ACCESSORS(dont_crankshaft) | 6856 DECL_BOOLEAN_ACCESSORS(dont_crankshaft) |
6857 | 6857 |
6858 // Indicates that code for this function cannot be cached. | |
6859 DECL_BOOLEAN_ACCESSORS(dont_cache) | |
6860 | |
6861 // Indicates that code for this function cannot be flushed. | 6858 // Indicates that code for this function cannot be flushed. |
6862 DECL_BOOLEAN_ACCESSORS(dont_flush) | 6859 DECL_BOOLEAN_ACCESSORS(dont_flush) |
6863 | 6860 |
6864 // Indicates that this function is a generator. | 6861 // Indicates that this function is a generator. |
6865 DECL_BOOLEAN_ACCESSORS(is_generator) | 6862 DECL_BOOLEAN_ACCESSORS(is_generator) |
6866 | 6863 |
6867 // Indicates that this function is an arrow function. | 6864 // Indicates that this function is an arrow function. |
6868 DECL_BOOLEAN_ACCESSORS(is_arrow) | 6865 DECL_BOOLEAN_ACCESSORS(is_arrow) |
6869 | 6866 |
6870 // Indicates that this function is a concise method. | 6867 // Indicates that this function is a concise method. |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7113 kUsesArguments, | 7110 kUsesArguments, |
7114 kNeedsHomeObject, | 7111 kNeedsHomeObject, |
7115 kHasDuplicateParameters, | 7112 kHasDuplicateParameters, |
7116 kNative, | 7113 kNative, |
7117 kForceInline, | 7114 kForceInline, |
7118 kBoundFunction, | 7115 kBoundFunction, |
7119 kIsAnonymous, | 7116 kIsAnonymous, |
7120 kNameShouldPrintAsAnonymous, | 7117 kNameShouldPrintAsAnonymous, |
7121 kIsFunction, | 7118 kIsFunction, |
7122 kDontCrankshaft, | 7119 kDontCrankshaft, |
7123 kDontCache, | |
7124 kDontFlush, | 7120 kDontFlush, |
7125 kIsArrow, | 7121 kIsArrow, |
7126 kIsGenerator, | 7122 kIsGenerator, |
7127 kIsConciseMethod, | 7123 kIsConciseMethod, |
7128 kIsAccessorFunction, | 7124 kIsAccessorFunction, |
7129 kIsDefaultConstructor, | 7125 kIsDefaultConstructor, |
7130 kIsSubclassConstructor, | 7126 kIsSubclassConstructor, |
7131 kIsBaseConstructor, | 7127 kIsBaseConstructor, |
7132 kInClassLiteral, | 7128 kInClassLiteral, |
7133 kIsAsmFunction, | 7129 kIsAsmFunction, |
(...skipping 3742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10876 } else { | 10872 } else { |
10877 value &= ~(1 << bit_position); | 10873 value &= ~(1 << bit_position); |
10878 } | 10874 } |
10879 return value; | 10875 return value; |
10880 } | 10876 } |
10881 }; | 10877 }; |
10882 | 10878 |
10883 } } // namespace v8::internal | 10879 } } // namespace v8::internal |
10884 | 10880 |
10885 #endif // V8_OBJECTS_H_ | 10881 #endif // V8_OBJECTS_H_ |
OLD | NEW |