Back out f8c6a272f2dc. It was working on Try a few minutes ago, I swear! (r=red)

This commit is contained in:
Chris Leary
2010-06-26 18:09:07 -07:00
parent 0930573283
commit e4cd373469
16 changed files with 561 additions and 567 deletions

View File

@@ -1000,7 +1000,7 @@ js_alloc_temp_space(void *priv, size_t size)
}
}
parser->context->tempPool.allocate(space, size);
JS_ARENA_ALLOCATE(space, &parser->context->tempPool, size);
if (!space)
js_ReportOutOfScriptQuota(parser->context);
return space;
@@ -1032,7 +1032,7 @@ js_alloc_temp_entry(void *priv, const void *key)
return &ale->entry;
}
parser->context->tempPool.allocateType<JSAtomListElement>(ale);
JS_ARENA_ALLOCATE_TYPE(ale, JSAtomListElement, &parser->context->tempPool);
if (!ale) {
js_ReportOutOfScriptQuota(parser->context);
return NULL;