mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +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:
parent
0ecc42619f
commit
3ba8893af5
@ -158,9 +158,8 @@ DSGraph *FunctionModRefInfo::ResolveCallSiteModRefInfo(CallInst &CI,
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Remove trivial dead nodes... don't aggressively prune graph though... the
|
||||
// graph is short lived anyway.
|
||||
Result->removeTriviallyDeadNodes(false);
|
||||
// Remove dead nodes...
|
||||
Result->removeDeadNodes();
|
||||
|
||||
// Step #4: Return the clone + the mapping (by ref)
|
||||
return Result;
|
||||
|
@ -158,9 +158,8 @@ DSGraph *FunctionModRefInfo::ResolveCallSiteModRefInfo(CallInst &CI,
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Remove trivial dead nodes... don't aggressively prune graph though... the
|
||||
// graph is short lived anyway.
|
||||
Result->removeTriviallyDeadNodes(false);
|
||||
// Remove dead nodes...
|
||||
Result->removeDeadNodes();
|
||||
|
||||
// Step #4: Return the clone + the mapping (by ref)
|
||||
return Result;
|
||||
|
Loading…
Reference in New Issue
Block a user