mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Backed out changeset 53b153375585
This commit is contained in:
parent
1302ef18a7
commit
7642f46df7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user