bug 583763 - conservative GC cleanup and better reporting of missing conservative roots. r=anygregor

This commit is contained in:
Igor Bukanov
2010-08-05 14:16:56 +02:00
parent d9465f1534
commit f5da30a39a
5 changed files with 385 additions and 378 deletions

View File

@@ -637,7 +637,7 @@ js_DumpAtoms(JSContext *cx, FILE *fp)
JSAtomState *state = &cx->runtime->atomState;
fprintf(fp, "atoms table contents:\n");
unsigned number;
unsigned number = 0;
for (AtomSet::Range r = state->atoms.all(); !r.empty(); r.popFront()) {
AtomEntryType entry = r.front();
fprintf(fp, "%3u ", number++);