mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-30 04:35:00 +00:00
Bugfix for ilist conversion. The ilist wants to make an 'end' node which has
G == 0 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11174 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
28897e1784
commit
9857c1a6ae
@ -74,7 +74,7 @@ DSNode::DSNode(const Type *T, DSGraph *G)
|
||||
: NumReferrers(0), Size(0), ParentGraph(G), Ty(Type::VoidTy), NodeType(0) {
|
||||
// Add the type entry if it is specified...
|
||||
if (T) mergeTypeInfo(T, 0);
|
||||
G->addNode(this);
|
||||
if (G) G->addNode(this);
|
||||
++NumNodeAllocated;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user