Backed out changeset b3d459d23452

This commit is contained in:
Robert Sayre
2009-07-24 00:01:37 -04:00
parent 5ad4fc479c
commit ebb6bb5250
14 changed files with 11 additions and 287 deletions

View File

@@ -3066,7 +3066,7 @@ js_ShrinkSlots(JSContext *cx, JSObject *obj, size_t nslots)
JS_ASSERT(nslots <= size_t(slots[-1]));
if (nslots <= JS_INITIAL_NSLOTS) {
cx->runtime->asynchronousFree(slots - 1);
JS_free(cx, slots - 1);
obj->dslots = NULL;
} else {
size_t nwords = SLOTS_TO_DYNAMIC_WORDS(nslots);