mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
Avoid extra callSite copy
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4232 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
af4800b8a9
commit
bd14460289
@ -113,7 +113,7 @@ DSGraph &BUDataStructures::calculateGraph(Function &F) {
|
||||
|
||||
// Record that this is a call site of FI.
|
||||
assert(&Call.getCaller() == &F && "Invalid caller in DSCallSite?");
|
||||
CallSites[&FI].push_back(DSCallSite(Call));
|
||||
CallSites[&FI].push_back(Call);
|
||||
|
||||
if (&FI == &F) {
|
||||
// Self recursion... simply link up the formal arguments with the
|
||||
|
Loading…
Reference in New Issue
Block a user