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:
Chris Lattner 2002-10-20 20:32:13 +00:00
parent af4800b8a9
commit bd14460289

View File

@ -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