[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/TopDownClosure.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Nov 8 16:27:01 PST 2002
Changes in directory llvm/lib/Analysis/DataStructure:
TopDownClosure.cpp updated: 1.24 -> 1.25
---
Log message:
Reenable 'quick exit' case
---
Diffs of the changes:
Index: llvm/lib/Analysis/DataStructure/TopDownClosure.cpp
diff -u llvm/lib/Analysis/DataStructure/TopDownClosure.cpp:1.24 llvm/lib/Analysis/DataStructure/TopDownClosure.cpp:1.25
--- llvm/lib/Analysis/DataStructure/TopDownClosure.cpp:1.24 Fri Nov 8 15:28:37 2002
+++ llvm/lib/Analysis/DataStructure/TopDownClosure.cpp Fri Nov 8 16:26:43 2002
@@ -92,12 +92,11 @@
DSGraph &Graph = getOrCreateDSGraph(F);
const std::vector<DSCallSite> &CallSites = Graph.getFunctionCalls();
-#if 0
if (CallSites.empty()) {
DEBUG(std::cerr << " [TD] No callees for: " << F.getName() << "\n");
return; // If no call sites, the graph is the same as the BU graph!
}
-#endif
+
// Loop over all of the call sites, building a multi-map from Callees to
// DSCallSite*'s. With this map we can then loop over each callee, cloning
// this graph once into it, then resolving arguments.
More information about the llvm-commits
mailing list