Merge from mozilla-central.

This commit is contained in:
David Anderson
2012-08-10 14:50:20 -07:00
240 changed files with 5519 additions and 3277 deletions

View File

@@ -300,6 +300,7 @@ Snapshot(JSContext *cx, RawObject obj_, unsigned flags, AutoIdVector *props)
AutoIdVector tmp(cx);
if (!tmp.resize(n))
return false;
PodCopy(tmp.begin(), ids, n);
if (!MergeSort(ids, n, tmp.begin(), SortComparatorIds(cx)))
return false;