Backed out changeset 53b153375585

This commit is contained in:
Robert Sayre 2009-07-23 23:58:50 -04:00
parent 1302ef18a7
commit 7642f46df7

View File

@ -251,15 +251,14 @@ JSScope::destroy(JSContext *cx, JSScope *scope)
#ifdef JS_THREADSAFE
js_FinishTitle(cx, &scope->title);
#endif
JSRuntime* rt = cx->runtime;
if (scope->table)
rt->asynchronousFree(scope->table);
cx->runtime->asynchronousFree(scope->table);
if (scope->emptyScope)
scope->emptyScope->drop(cx, NULL);
LIVE_SCOPE_METER(cx, cx->runtime->liveScopeProps -= scope->entryCount);
JS_RUNTIME_UNMETER(cx->runtime, liveScopes);
rt->asynchronousFree(scope);
JS_free(cx, scope);
}
#ifdef JS_DUMP_PROPTREE_STATS