mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix dangling JS_PROPERTY_CACHE_METERING bits broken by patch for bug 489171.
This commit is contained in:
parent
48c3925a9a
commit
7f4de719f8
@ -310,7 +310,6 @@ js_FillPropertyCache(JSContext *cx, JSObject *obj, jsuword kshape,
|
||||
}
|
||||
|
||||
entry = &cache->table[khash];
|
||||
PCMETER(if (entry != *entryp) cache->modfills++);
|
||||
PCMETER(if (!PCVAL_IS_NULL(entry->vword)) cache->recycles++);
|
||||
entry->kpc = pc;
|
||||
entry->kshape = kshape;
|
||||
@ -472,7 +471,6 @@ js_PurgePropertyCache(JSContext *cx, JSPropertyCache *cache)
|
||||
P(rofills);
|
||||
P(disfills);
|
||||
P(oddfills);
|
||||
P(modfills);
|
||||
P(brandfills);
|
||||
P(noprotos);
|
||||
P(longchains);
|
||||
|
@ -276,7 +276,6 @@ typedef struct JSPropertyCache {
|
||||
uint32 rofills; /* set on read-only prop can't fill */
|
||||
uint32 disfills; /* fill attempts on disabled cache */
|
||||
uint32 oddfills; /* fill attempt after setter deleted */
|
||||
uint32 modfills; /* fill that rehashed to a new entry */
|
||||
uint32 brandfills; /* scope brandings to type structural
|
||||
method fills */
|
||||
uint32 noprotos; /* resolve-returned non-proto pobj */
|
||||
|
Loading…
Reference in New Issue
Block a user