mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-13 23:20:41 +00:00
Fix null pointer dereference.
llvm-svn: 84806
This commit is contained in:
parent
068e5420ce
commit
726b132e13
@ -4601,7 +4601,7 @@ SDNode *SelectionDAG::MorphNodeTo(SDNode *N, unsigned Opc,
|
||||
N->InitOperands(new SDUse[NumOps], Ops, NumOps);
|
||||
N->OperandsNeedDelete = true;
|
||||
} else
|
||||
MN->InitOperands(MN->OperandList, Ops, NumOps);
|
||||
N->InitOperands(N->OperandList, Ops, NumOps);
|
||||
}
|
||||
|
||||
// Delete any nodes that are still dead after adding the uses for the
|
||||
|
Loading…
x
Reference in New Issue
Block a user