Back out changeset b7f417116d90 (Bug 1029549) for making the tree a beautiful orange color on a CLOSED TREE

This commit is contained in:
Terrence Cole 2014-09-19 16:53:17 -07:00
parent b345707b94
commit 8f8041e2a0

View File

@ -369,11 +369,7 @@ class TenuredHeap : public js::HeapBase<T>
return (bits & flag) != 0;
}
T getPtr() const {
T ptr = reinterpret_cast<T>(bits & ~flagsMask);
MOZ_ASSERT(JS::GetTenuredGCThingZone(ptr) != nullptr);
return ptr;
}
T getPtr() const { return reinterpret_cast<T>(bits & ~flagsMask); }
uintptr_t getFlags() const { return bits & flagsMask; }
operator T() const { return getPtr(); }