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 7198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7209 kBoundFunction, | 7209 kBoundFunction, |
7210 kIsAnonymous, | 7210 kIsAnonymous, |
7211 kNameShouldPrintAsAnonymous, | 7211 kNameShouldPrintAsAnonymous, |
7212 kIsFunction, | 7212 kIsFunction, |
7213 kDontCache, | 7213 kDontCache, |
7214 kDontFlush, | 7214 kDontFlush, |
7215 kIsArrow, | 7215 kIsArrow, |
7216 kIsGenerator, | 7216 kIsGenerator, |
7217 kIsConciseMethod, | 7217 kIsConciseMethod, |
7218 kIsDefaultConstructor, | 7218 kIsDefaultConstructor, |
| 7219 kIsSubclassConstructor, |
7219 kIsAsmFunction, | 7220 kIsAsmFunction, |
7220 kDeserialized, | 7221 kDeserialized, |
7221 kCompilerHintsCount // Pseudo entry | 7222 kCompilerHintsCount // Pseudo entry |
7222 }; | 7223 }; |
7223 | 7224 |
7224 class FunctionKindBits : public BitField<FunctionKind, kIsArrow, 4> {}; | 7225 class FunctionKindBits : public BitField<FunctionKind, kIsArrow, 5> {}; |
7225 | 7226 |
7226 class DeoptCountBits : public BitField<int, 0, 4> {}; | 7227 class DeoptCountBits : public BitField<int, 0, 4> {}; |
7227 class OptReenableTriesBits : public BitField<int, 4, 18> {}; | 7228 class OptReenableTriesBits : public BitField<int, 4, 18> {}; |
7228 class ICAgeBits : public BitField<int, 22, 8> {}; | 7229 class ICAgeBits : public BitField<int, 22, 8> {}; |
7229 | 7230 |
7230 class OptCountBits : public BitField<int, 0, 22> {}; | 7231 class OptCountBits : public BitField<int, 0, 22> {}; |
7231 class DisabledOptimizationReasonBits : public BitField<int, 22, 8> {}; | 7232 class DisabledOptimizationReasonBits : public BitField<int, 22, 8> {}; |
7232 | 7233 |
7233 private: | 7234 private: |
7234 #if V8_HOST_ARCH_32_BIT | 7235 #if V8_HOST_ARCH_32_BIT |
(...skipping 3741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10976 } else { | 10977 } else { |
10977 value &= ~(1 << bit_position); | 10978 value &= ~(1 << bit_position); |
10978 } | 10979 } |
10979 return value; | 10980 return value; |
10980 } | 10981 } |
10981 }; | 10982 }; |
10982 | 10983 |
10983 } } // namespace v8::internal | 10984 } } // namespace v8::internal |
10984 | 10985 |
10985 #endif // V8_OBJECTS_H_ | 10986 #endif // V8_OBJECTS_H_ |
OLD | NEW |