mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
fix PR4915, a crash in -debug mode.
llvm-svn: 81177
This commit is contained in:
parent
ee1d1d3173
commit
fb09f6e5ea
@ -548,7 +548,9 @@ public:
|
|||||||
o << "DFSNumbers invalid: " << SlowQueries << " slow queries.";
|
o << "DFSNumbers invalid: " << SlowQueries << " slow queries.";
|
||||||
o << "\n";
|
o << "\n";
|
||||||
|
|
||||||
PrintDomTree<NodeT>(getRootNode(), o, 1);
|
// The postdom tree can have a null root if there are no returns.
|
||||||
|
if (getRootNode())
|
||||||
|
PrintDomTree<NodeT>(getRootNode(), o, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
Loading…
Reference in New Issue
Block a user