bug 560471 - remove GC_LAST_DITCH and GC_KEEP_ATOMS. r=jorendorff

This commit is contained in:
Igor Bukanov
2010-04-24 00:15:42 +02:00
parent 384a4bc57e
commit 248da00d19
7 changed files with 35 additions and 43 deletions

View File

@@ -562,12 +562,12 @@ js_pinned_atom_tracer(JSDHashTable *table, JSDHashEntryHdr *hdr,
}
void
js_TraceAtomState(JSTracer *trc, JSBool allAtoms)
js_TraceAtomState(JSTracer *trc)
{
JSRuntime *rt = trc->context->runtime;
JSAtomState *state = &rt->atomState;
if (allAtoms) {
if (rt->gcKeepAtoms) {
JS_DHashTableEnumerate(&state->doubleAtoms, js_locked_atom_tracer, trc);
JS_DHashTableEnumerate(&state->stringAtoms, js_locked_atom_tracer, trc);
} else {