Ver Fonte

Remove unused static const bool IsLeafOnly from blocks

Bo Cupp há 8 anos atrás
pai
commit
11f61960ca

+ 0 - 2
lib/Common/Memory/SmallFinalizableHeapBlock.h

@@ -150,7 +150,6 @@ public:
     typedef TBlockAttributes HeapBlockAttributes;
 
     static const ObjectInfoBits RequiredAttributes = RecyclerVisitedHostBit;
-    static const bool IsLeafOnly = true;
 
     static SmallRecyclerVisitedHostHeapBlockT * New(HeapBucketT<SmallRecyclerVisitedHostHeapBlockT> * bucket);
     static void Delete(SmallRecyclerVisitedHostHeapBlockT * block);
@@ -193,7 +192,6 @@ public:
     typedef TBlockAttributes HeapBlockAttributes;
 
     static const ObjectInfoBits RequiredAttributes = FinalizableWithBarrierBit;
-    static const bool IsLeafOnly = false;
 
     static SmallFinalizableWithBarrierHeapBlockT * New(HeapBucketT<SmallFinalizableWithBarrierHeapBlockT> * bucket);
     static void Delete(SmallFinalizableWithBarrierHeapBlockT * block);

+ 0 - 2
lib/Common/Memory/SmallNormalHeapBlock.h

@@ -18,7 +18,6 @@ public:
     typedef typename Base::SmallHeapBlockBitVector SmallHeapBlockBitVector;
     typedef TBlockAttributes HeapBlockAttributes;
     static const ObjectInfoBits RequiredAttributes = NoBit;
-    static const bool IsLeafOnly = false;
 
     static SmallNormalHeapBlockT * New(HeapBucketT<SmallNormalHeapBlockT> * bucket);
     static void Delete(SmallNormalHeapBlockT * block);
@@ -67,7 +66,6 @@ class SmallNormalWithBarrierHeapBlockT : public SmallNormalHeapBlockT<TBlockAttr
 public:
     typedef TBlockAttributes HeapBlockAttributes;
     static const ObjectInfoBits RequiredAttributes = WithBarrierBit;
-    static const bool IsLeafOnly = false;
 
     static SmallNormalWithBarrierHeapBlockT * New(HeapBucketT<SmallNormalWithBarrierHeapBlockT> * bucket);
     static void Delete(SmallNormalWithBarrierHeapBlockT * heapBlock);