| 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 7179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7190 kBoundFunction, | 7190 kBoundFunction, |
| 7191 kIsAnonymous, | 7191 kIsAnonymous, |
| 7192 kNameShouldPrintAsAnonymous, | 7192 kNameShouldPrintAsAnonymous, |
| 7193 kIsFunction, | 7193 kIsFunction, |
| 7194 kDontCache, | 7194 kDontCache, |
| 7195 kDontFlush, | 7195 kDontFlush, |
| 7196 kIsArrow, | 7196 kIsArrow, |
| 7197 kIsGenerator, | 7197 kIsGenerator, |
| 7198 kIsConciseMethod, | 7198 kIsConciseMethod, |
| 7199 kIsDefaultConstructor, | 7199 kIsDefaultConstructor, |
| 7200 kIsBaseConstructor, |
| 7200 kIsSubclassConstructor, | 7201 kIsSubclassConstructor, |
| 7201 kIsAsmFunction, | 7202 kIsAsmFunction, |
| 7202 kDeserialized, | 7203 kDeserialized, |
| 7203 kCompilerHintsCount // Pseudo entry | 7204 kCompilerHintsCount // Pseudo entry |
| 7204 }; | 7205 }; |
| 7205 // Add hints for other modes when they're added. | 7206 // Add hints for other modes when they're added. |
| 7206 STATIC_ASSERT(LANGUAGE_END == 2); | 7207 STATIC_ASSERT(LANGUAGE_END == 2); |
| 7207 | 7208 |
| 7208 class FunctionKindBits : public BitField<FunctionKind, kIsArrow, 5> {}; | 7209 class FunctionKindBits : public BitField<FunctionKind, kIsArrow, 6> {}; |
| 7209 | 7210 |
| 7210 class DeoptCountBits : public BitField<int, 0, 4> {}; | 7211 class DeoptCountBits : public BitField<int, 0, 4> {}; |
| 7211 class OptReenableTriesBits : public BitField<int, 4, 18> {}; | 7212 class OptReenableTriesBits : public BitField<int, 4, 18> {}; |
| 7212 class ICAgeBits : public BitField<int, 22, 8> {}; | 7213 class ICAgeBits : public BitField<int, 22, 8> {}; |
| 7213 | 7214 |
| 7214 class OptCountBits : public BitField<int, 0, 22> {}; | 7215 class OptCountBits : public BitField<int, 0, 22> {}; |
| 7215 class DisabledOptimizationReasonBits : public BitField<int, 22, 8> {}; | 7216 class DisabledOptimizationReasonBits : public BitField<int, 22, 8> {}; |
| 7216 | 7217 |
| 7217 private: | 7218 private: |
| 7218 #if V8_HOST_ARCH_32_BIT | 7219 #if V8_HOST_ARCH_32_BIT |
| (...skipping 3738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10957 } else { | 10958 } else { |
| 10958 value &= ~(1 << bit_position); | 10959 value &= ~(1 << bit_position); |
| 10959 } | 10960 } |
| 10960 return value; | 10961 return value; |
| 10961 } | 10962 } |
| 10962 }; | 10963 }; |
| 10963 | 10964 |
| 10964 } } // namespace v8::internal | 10965 } } // namespace v8::internal |
| 10965 | 10966 |
| 10966 #endif // V8_OBJECTS_H_ | 10967 #endif // V8_OBJECTS_H_ |
| OLD | NEW |