projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49b63a1
)
Fix null pointer dereference.
author
Anton Korobeynikov
<asl@math.spbu.ru>
Thu, 22 Oct 2009 00:15:17 +0000
(
00:15
+0000)
committer
Anton Korobeynikov
<asl@math.spbu.ru>
Thu, 22 Oct 2009 00:15:17 +0000
(
00:15
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84806
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 8bd0370cc60a0acacd09299c77ec9fd463f67b70..37736c04ab406afa31a1d3d756513a4b853cc11b 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@
-4601,7
+4601,7
@@
SDNode *SelectionDAG::MorphNodeTo(SDNode *N, unsigned Opc,
N->InitOperands(new SDUse[NumOps], Ops, NumOps);
N->OperandsNeedDelete = true;
} else
-
MN->InitOperands(M
N->OperandList, Ops, NumOps);
+
N->InitOperands(
N->OperandList, Ops, NumOps);
}
// Delete any nodes that are still dead after adding the uses for the