[llvm-commits] [poolalloc] r78616 - /poolalloc/trunk/include/rdsa/DSGraph.h
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Mon Aug 10 16:40:37 PDT 2009
Author: alenhar2
Date: Mon Aug 10 18:40:36 2009
New Revision: 78616
URL: http://llvm.org/viewvc/llvm-project?rev=78616&view=rev
Log:
do away with setGlobalsGrpah
Modified:
poolalloc/trunk/include/rdsa/DSGraph.h
Modified: poolalloc/trunk/include/rdsa/DSGraph.h
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/include/rdsa/DSGraph.h?rev=78616&r1=78615&r2=78616&view=diff
==============================================================================
--- poolalloc/trunk/include/rdsa/DSGraph.h (original)
+++ poolalloc/trunk/include/rdsa/DSGraph.h Mon Aug 10 18:40:36 2009
@@ -240,7 +240,7 @@
public:
// Create a new, empty, DSGraph.
DSGraph(EquivalenceClasses<const GlobalValue*> &ECs, const TargetData &td,
- DSGraph *GG = 0)
+ DSGraph *GG)
:GlobalsGraph(GG), PrintAuxCalls(false),
ScalarMap(ECs), TD(td)
{ }
@@ -254,11 +254,10 @@
// method.
//
DSGraph( DSGraph* DSG, EquivalenceClasses<const GlobalValue*> &ECs,
- unsigned CloneFlags = 0);
+ DSGraph *GG, unsigned CloneFlags);
~DSGraph();
DSGraph *getGlobalsGraph() const { return GlobalsGraph; }
- void setGlobalsGraph(DSGraph *G) { GlobalsGraph = G; }
/// getGlobalECs - Return the set of equivalence classes that the global
/// variables in the program form.
More information about the llvm-commits
mailing list