Bug 921178 - Remove unused fallback marking bitmap; r=billm

--HG--
extra : rebase_source : 4b53c8eb16d332ad8916a0abf4dd6ccd5f211ed4
This commit is contained in:
Terrence Cole 2013-09-30 14:58:12 -07:00
parent e85e1b2a99
commit a127f041dd
2 changed files with 0 additions and 9 deletions

View File

@ -34,8 +34,6 @@ js::Nursery::init()
if (!hugeSlots.init())
return false;
fallbackBitmap.clear(false);
void *heap = MapAlignedPages(runtime(), NurserySize, Alignment);
#ifdef JSGC_ROOT_ANALYSIS
// Our poison pointers are not guaranteed to be invalid on 64-bit
@ -97,8 +95,6 @@ js::Nursery::disable()
void *
js::Nursery::allocate(size_t size)
{
JS_ASSERT(size % ThingAlignment == 0);
JS_ASSERT(position() % ThingAlignment == 0);
JS_ASSERT(!runtime()->isHeapBusy());
if (position() + size > currentEnd()) {

View File

@ -137,11 +137,6 @@ class Nursery
typedef HashSet<HeapSlot *, PointerHasher<HeapSlot *, 3>, SystemAllocPolicy> HugeSlotsSet;
HugeSlotsSet hugeSlots;
/* The marking bitmap for the fallback marker. */
static const size_t ThingAlignment = sizeof(JS::Value);
static const size_t FallbackBitmapBits = NurserySize / ThingAlignment;
BitArray<FallbackBitmapBits> fallbackBitmap;
#ifdef DEBUG
/*
* In DEBUG builds, these bytes indicate the state of an unused segment of