Bug 806283 - Split up and add native iterators to "object/misc" memory reports. r=jorendorff.
This commit is contained in:
@@ -821,6 +821,12 @@ iterator_iteratorObject(JSContext *cx, HandleObject obj, JSBool keysonly)
|
||||
return obj;
|
||||
}
|
||||
|
||||
size_t
|
||||
PropertyIteratorObject::sizeOfMisc(JSMallocSizeOfFun mallocSizeOf) const
|
||||
{
|
||||
return mallocSizeOf(getPrivate());
|
||||
}
|
||||
|
||||
void
|
||||
PropertyIteratorObject::trace(JSTracer *trc, RawObject obj)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user