Fix dangling JS_PROPERTY_CACHE_METERING bits broken by patch for bug 489171.

This commit is contained in:
Brendan Eich 2009-04-20 17:32:36 -07:00
parent 48c3925a9a
commit 7f4de719f8
2 changed files with 0 additions and 3 deletions

View File

@ -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);

View File

@ -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 */