mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-28 11:28:38 +00:00
Back out changeset b7f417116d90 (Bug 1029549) for making the tree a beautiful orange color on a CLOSED TREE
This commit is contained in:
parent
98b09bfb3a
commit
d428c6078c
@ -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(); }
|
||||
|
Loading…
Reference in New Issue
Block a user