Back out f8c6a272f2dc. It was working on Try a few minutes ago, I swear! (r=red)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user