Bug 903041 - Exactly root --enable-more-deterministic builds; r=jonco
This commit is contained in:
@@ -169,10 +169,10 @@ struct SortComparatorIds
|
||||
bool operator()(jsid a, jsid b, bool *lessOrEqualp)
|
||||
{
|
||||
/* Pick an arbitrary total order on jsids that is stable across executions. */
|
||||
JSString *astr = IdToString(cx, a);
|
||||
RootedString astr(cx, IdToString(cx, a));
|
||||
if (!astr)
|
||||
return false;
|
||||
JSString *bstr = IdToString(cx, b);
|
||||
RootedString bstr(cx, IdToString(cx, b));
|
||||
if (!bstr)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user