зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1401200 - Don't call qsort with nullptr in jit::AnalyzeNewScriptDefiniteProperties. r=nbp
This commit is contained in:
Родитель
449785977a
Коммит
d775b8e5db
|
@ -4266,7 +4266,7 @@ jit::AnalyzeNewScriptDefiniteProperties(JSContext* cx, HandleFunction fun,
|
|||
|
||||
// Get a list of instructions using the |this| value in the order they
|
||||
// appear in the graph.
|
||||
Vector<MInstruction*> instructions(cx);
|
||||
Vector<MInstruction*, 4> instructions(cx);
|
||||
|
||||
for (MUseDefIterator uses(thisValue); uses; uses++) {
|
||||
MDefinition* use = uses.def();
|
||||
|
|
Загрузка…
Ссылка в новой задаче