mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 840809 (part 2) - Measure RegExpCompartment::inUse_. r=sstangl.
--HG-- extra : rebase_source : 6eb3e6d42f0dd09eb62ffc887b0e6243de2f7202
This commit is contained in:
parent
9fe308c74c
commit
7126c6f594
@ -711,7 +711,10 @@ RegExpCompartment::get(JSContext *cx, HandleAtom atom, JSString *opt, RegExpGuar
|
||||
size_t
|
||||
RegExpCompartment::sizeOfExcludingThis(JSMallocSizeOfFun mallocSizeOf)
|
||||
{
|
||||
return map_.sizeOfExcludingThis(mallocSizeOf);
|
||||
size_t n = 0;
|
||||
n += map_.sizeOfExcludingThis(mallocSizeOf);
|
||||
n += inUse_.sizeOfExcludingThis(mallocSizeOf);
|
||||
return n;
|
||||
}
|
||||
|
||||
/* Functions */
|
||||
|
Loading…
Reference in New Issue
Block a user