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 7117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7128 // the bind function. | 7128 // the bind function. |
7129 DECL_BOOLEAN_ACCESSORS(bound) | 7129 DECL_BOOLEAN_ACCESSORS(bound) |
7130 | 7130 |
7131 // Indicates that the function is anonymous (the name field can be set | 7131 // Indicates that the function is anonymous (the name field can be set |
7132 // through the API, which does not change this flag). | 7132 // through the API, which does not change this flag). |
7133 DECL_BOOLEAN_ACCESSORS(is_anonymous) | 7133 DECL_BOOLEAN_ACCESSORS(is_anonymous) |
7134 | 7134 |
7135 // Is this a function or top-level/eval code. | 7135 // Is this a function or top-level/eval code. |
7136 DECL_BOOLEAN_ACCESSORS(is_function) | 7136 DECL_BOOLEAN_ACCESSORS(is_function) |
7137 | 7137 |
| 7138 // Indicates that code for this function cannot be compiled with Crankshaft. |
| 7139 DECL_BOOLEAN_ACCESSORS(dont_crankshaft) |
| 7140 |
7138 // Indicates that code for this function cannot be cached. | 7141 // Indicates that code for this function cannot be cached. |
7139 DECL_BOOLEAN_ACCESSORS(dont_cache) | 7142 DECL_BOOLEAN_ACCESSORS(dont_cache) |
7140 | 7143 |
7141 // Indicates that code for this function cannot be flushed. | 7144 // Indicates that code for this function cannot be flushed. |
7142 DECL_BOOLEAN_ACCESSORS(dont_flush) | 7145 DECL_BOOLEAN_ACCESSORS(dont_flush) |
7143 | 7146 |
7144 // Indicates that this function is a generator. | 7147 // Indicates that this function is a generator. |
7145 DECL_BOOLEAN_ACCESSORS(is_generator) | 7148 DECL_BOOLEAN_ACCESSORS(is_generator) |
7146 | 7149 |
7147 // Indicates that this function is an arrow function. | 7150 // Indicates that this function is an arrow function. |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7392 kStrongModeFunction, | 7395 kStrongModeFunction, |
7393 kUsesArguments, | 7396 kUsesArguments, |
7394 kUsesSuperProperty, | 7397 kUsesSuperProperty, |
7395 kHasDuplicateParameters, | 7398 kHasDuplicateParameters, |
7396 kNative, | 7399 kNative, |
7397 kForceInline, | 7400 kForceInline, |
7398 kBoundFunction, | 7401 kBoundFunction, |
7399 kIsAnonymous, | 7402 kIsAnonymous, |
7400 kNameShouldPrintAsAnonymous, | 7403 kNameShouldPrintAsAnonymous, |
7401 kIsFunction, | 7404 kIsFunction, |
| 7405 kDontCrankshaft, |
7402 kDontCache, | 7406 kDontCache, |
7403 kDontFlush, | 7407 kDontFlush, |
7404 kIsArrow, | 7408 kIsArrow, |
7405 kIsGenerator, | 7409 kIsGenerator, |
7406 kIsConciseMethod, | 7410 kIsConciseMethod, |
7407 kIsAccessorFunction, | 7411 kIsAccessorFunction, |
7408 kIsDefaultConstructor, | 7412 kIsDefaultConstructor, |
7409 kIsSubclassConstructor, | 7413 kIsSubclassConstructor, |
7410 kIsBaseConstructor, | 7414 kIsBaseConstructor, |
7411 kInClassLiteral, | 7415 kInClassLiteral, |
(...skipping 3741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11153 } else { | 11157 } else { |
11154 value &= ~(1 << bit_position); | 11158 value &= ~(1 << bit_position); |
11155 } | 11159 } |
11156 return value; | 11160 return value; |
11157 } | 11161 } |
11158 }; | 11162 }; |
11159 | 11163 |
11160 } } // namespace v8::internal | 11164 } } // namespace v8::internal |
11161 | 11165 |
11162 #endif // V8_OBJECTS_H_ | 11166 #endif // V8_OBJECTS_H_ |
OLD | NEW |