mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-25 17:20:48 +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:
@@ -1409,7 +1409,7 @@ static bool CallSiteUsesAliveArgs(DSCallSite &CS, hash_set<DSNode*> &Alive,
|
|||||||
// inlining graphs.
|
// inlining graphs.
|
||||||
//
|
//
|
||||||
void DSGraph::removeDeadNodes(unsigned Flags) {
|
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
|
// Reduce the amount of work we have to do... remove dummy nodes left over by
|
||||||
// merging...
|
// merging...
|
||||||
|
Reference in New Issue
Block a user