diff --git a/lib/Analysis/DataStructure/BottomUpClosure.cpp b/lib/Analysis/DataStructure/BottomUpClosure.cpp index e65a06c6e6d..b6748d8e38b 100644 --- a/lib/Analysis/DataStructure/BottomUpClosure.cpp +++ b/lib/Analysis/DataStructure/BottomUpClosure.cpp @@ -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