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