| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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/assert-scope.h" | 10 #include "src/assert-scope.h" |
| (...skipping 5262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5273 static const int kFullCodeFlags = kKindSpecificFlags1Offset; | 5273 static const int kFullCodeFlags = kKindSpecificFlags1Offset; |
| 5274 class FullCodeFlagsHasDeoptimizationSupportField: | 5274 class FullCodeFlagsHasDeoptimizationSupportField: |
| 5275 public BitField<bool, 0, 1> {}; // NOLINT | 5275 public BitField<bool, 0, 1> {}; // NOLINT |
| 5276 class FullCodeFlagsHasDebugBreakSlotsField: public BitField<bool, 1, 1> {}; | 5276 class FullCodeFlagsHasDebugBreakSlotsField: public BitField<bool, 1, 1> {}; |
| 5277 class FullCodeFlagsHasRelocInfoForSerialization | 5277 class FullCodeFlagsHasRelocInfoForSerialization |
| 5278 : public BitField<bool, 2, 1> {}; | 5278 : public BitField<bool, 2, 1> {}; |
| 5279 // Bit 3 in this bitfield is unused. | 5279 // Bit 3 in this bitfield is unused. |
| 5280 class ProfilerTicksField : public BitField<int, 4, 28> {}; | 5280 class ProfilerTicksField : public BitField<int, 4, 28> {}; |
| 5281 | 5281 |
| 5282 // Flags layout. BitField<type, shift, size>. | 5282 // Flags layout. BitField<type, shift, size>. |
| 5283 class CacheHolderField : public BitField<CacheHolderFlag, 0, 2> {}; | 5283 class ICStateField : public BitField<InlineCacheState, 0, 3> {}; |
| 5284 class CacheHolderField |
| 5285 : public BitField<CacheHolderFlag, ICStateField::kNext, 2> {}; |
| 5284 class KindField : public BitField<Kind, CacheHolderField::kNext, 5> {}; | 5286 class KindField : public BitField<Kind, CacheHolderField::kNext, 5> {}; |
| 5285 class ExtraICStateField : public BitField<ExtraICState, KindField::kNext, | 5287 class ExtraICStateField : public BitField<ExtraICState, KindField::kNext, |
| 5286 PlatformSmiTagging::kSmiValueSize - | 5288 PlatformSmiTagging::kSmiValueSize - |
| 5287 KindField::kNext + 1> {}; | 5289 KindField::kNext + 1> {}; |
| 5288 | 5290 |
| 5289 // KindSpecificFlags1 layout (STUB, BUILTIN and OPTIMIZED_FUNCTION) | 5291 // KindSpecificFlags1 layout (STUB, BUILTIN and OPTIMIZED_FUNCTION) |
| 5290 static const int kStackSlotsFirstBit = 0; | 5292 static const int kStackSlotsFirstBit = 0; |
| 5291 static const int kStackSlotsBitCount = 24; | 5293 static const int kStackSlotsBitCount = 24; |
| 5292 static const int kMarkedForDeoptimizationBit = | 5294 static const int kMarkedForDeoptimizationBit = |
| 5293 kStackSlotsFirstBit + kStackSlotsBitCount; | 5295 kStackSlotsFirstBit + kStackSlotsBitCount; |
| (...skipping 5504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10798 } | 10800 } |
| 10799 return value; | 10801 return value; |
| 10800 } | 10802 } |
| 10801 }; | 10803 }; |
| 10802 | 10804 |
| 10803 | 10805 |
| 10804 } // NOLINT, false-positive due to second-order macros. | 10806 } // NOLINT, false-positive due to second-order macros. |
| 10805 } // NOLINT, false-positive due to second-order macros. | 10807 } // NOLINT, false-positive due to second-order macros. |
| 10806 | 10808 |
| 10807 #endif // V8_OBJECTS_H_ | 10809 #endif // V8_OBJECTS_H_ |
| OLD | NEW |