mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-11 13:44:28 +00:00
Don't crash if no gg
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9913 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9b29bde341
commit
9dc4185763
@ -1409,7 +1409,7 @@ static bool CallSiteUsesAliveArgs(DSCallSite &CS, hash_set<DSNode*> &Alive,
|
||||
// inlining graphs.
|
||||
//
|
||||
void DSGraph::removeDeadNodes(unsigned Flags) {
|
||||
DEBUG(AssertGraphOK(); GlobalsGraph->AssertGraphOK());
|
||||
DEBUG(AssertGraphOK(); if (GlobalsGraph) GlobalsGraph->AssertGraphOK());
|
||||
|
||||
// Reduce the amount of work we have to do... remove dummy nodes left over by
|
||||
// merging...
|
||||
|
Loading…
Reference in New Issue
Block a user