Chromium Code Reviews| Index: src/objects.h |
| =================================================================== |
| --- src/objects.h (revision 10584) |
| +++ src/objects.h (working copy) |
| @@ -4364,8 +4364,8 @@ |
| // Flags layout. BitField<type, shift, size>. |
| class ICStateField: public BitField<InlineCacheState, 0, 3> {}; |
| class TypeField: public BitField<PropertyType, 3, 4> {}; |
| - class KindField: public BitField<Kind, 7, 4> {}; |
| - class CacheHolderField: public BitField<InlineCacheHolderFlag, 11, 1> {}; |
| + class CacheHolderField: public BitField<InlineCacheHolderFlag, 7, 1> {}; |
| + class KindField: public BitField<Kind, 8, 4> {}; |
| class ExtraICStateField: public BitField<ExtraICState, 12, 2> {}; |
| class IsPregeneratedField: public BitField<bool, 14, 1> {}; |
| @@ -4373,6 +4373,7 @@ |
| static const int kArgumentsCountShift = 15; |
| static const int kArgumentsCountMask = ~((1 << kArgumentsCountShift) - 1); |
| + // This constant should be encodable in an ARM instruction. |
|
Michael Starzinger
2012/02/02 13:14:20
I think we need to have a static-assert at the usa
|
| static const int kFlagsNotUsedInLookup = |
| TypeField::kMask | CacheHolderField::kMask; |