mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Fix bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4697 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -158,9 +158,8 @@ DSGraph *FunctionModRefInfo::ResolveCallSiteModRefInfo(CallInst &CI,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove trivial dead nodes... don't aggressively prune graph though... the
|
// Remove dead nodes...
|
||||||
// graph is short lived anyway.
|
Result->removeDeadNodes();
|
||||||
Result->removeTriviallyDeadNodes(false);
|
|
||||||
|
|
||||||
// Step #4: Return the clone + the mapping (by ref)
|
// Step #4: Return the clone + the mapping (by ref)
|
||||||
return Result;
|
return Result;
|
||||||
|
@@ -158,9 +158,8 @@ DSGraph *FunctionModRefInfo::ResolveCallSiteModRefInfo(CallInst &CI,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove trivial dead nodes... don't aggressively prune graph though... the
|
// Remove dead nodes...
|
||||||
// graph is short lived anyway.
|
Result->removeDeadNodes();
|
||||||
Result->removeTriviallyDeadNodes(false);
|
|
||||||
|
|
||||||
// Step #4: Return the clone + the mapping (by ref)
|
// Step #4: Return the clone + the mapping (by ref)
|
||||||
return Result;
|
return Result;
|
||||||
|
Reference in New Issue
Block a user