[llvm-commits] [poolalloc] r112525 - /poolalloc/trunk/include/dsa/DSCallGraph.h
John Criswell
criswell at uiuc.edu
Mon Aug 30 14:13:14 PDT 2010
Author: criswell
Date: Mon Aug 30 16:13:14 2010
New Revision: 112525
URL: http://llvm.org/viewvc/llvm-project?rev=112525&view=rev
Log:
Added spaces between comment delimiter and comment text.
No functionality changes.
Modified:
poolalloc/trunk/include/dsa/DSCallGraph.h
Modified: poolalloc/trunk/include/dsa/DSCallGraph.h
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/include/dsa/DSCallGraph.h?rev=112525&r1=112524&r2=112525&view=diff
==============================================================================
--- poolalloc/trunk/include/dsa/DSCallGraph.h (original)
+++ poolalloc/trunk/include/dsa/DSCallGraph.h Mon Aug 30 16:13:14 2010
@@ -31,24 +31,25 @@
typedef std::map<const llvm::Function*, FuncSet> SimpleCalleesTy;
private:
- //ActualCallees contains CallSite -> Function mappings
+ // ActualCallees contains CallSite -> set of Function mappings
ActualCalleesTy ActualCallees;
- //SimpleCallees contains Function -> Function mappings
+
+ // SimpleCallees contains Function -> set of Functions mappings
SimpleCalleesTy SimpleCallees;
- //These are used for returning empty sets when the caller has no callees
+ // These are used for returning empty sets when the caller has no callees
FuncSet EmptyActual;
FuncSet EmptySimple;
- //An equivalence class is exactly an SCC
+ // An equivalence class is exactly an SCC
llvm::EquivalenceClasses<const llvm::Function*> SCCs;
- //Functions we know about that aren't called
+ // Functions we know about that aren't called
svset<const llvm::Function*> knownRoots;
svset<llvm::CallSite> completeCS;
- //Types for SCC construction
+ // Types for SCC construction
typedef std::map<const llvm::Function*, unsigned> TFMap;
typedef std::vector<const llvm::Function*> TFStack;
@@ -179,7 +180,7 @@
assert(F == SCCs.getLeaderValue(F) && "Not Leader?");
}
- //common helper, no good reason for it to be here rather than elsewhere
+ // common helper; no good reason for it to be here rather than elsewhere
static bool hasPointers(const llvm::Function* F);
static bool hasPointers(llvm::CallSite& CS);
More information about the llvm-commits
mailing list