[llvm-commits] [poolalloc] r116630 - /poolalloc/trunk/lib/DSA/DataStructure.cpp
Arushi Aggarwal
aggarwa4 at illinois.edu
Fri Oct 15 15:38:51 PDT 2010
Author: aggarwa4
Date: Fri Oct 15 17:38:51 2010
New Revision: 116630
URL: http://llvm.org/viewvc/llvm-project?rev=116630&view=rev
Log:
Changed to used the enum instead of 0.
Improved readability.
Modified:
poolalloc/trunk/lib/DSA/DataStructure.cpp
Modified: poolalloc/trunk/lib/DSA/DataStructure.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/DSA/DataStructure.cpp?rev=116630&r1=116629&r2=116630&view=diff
==============================================================================
--- poolalloc/trunk/lib/DSA/DataStructure.cpp (original)
+++ poolalloc/trunk/lib/DSA/DataStructure.cpp Fri Oct 15 17:38:51 2010
@@ -1384,7 +1384,8 @@
callgraph = D->callgraph;
GlobalECs = D->getGlobalECs();
GlobalsGraph = new DSGraph(D->getGlobalsGraph(), GlobalECs, *TypeSS,
- copyGlobalAuxCalls?0:DSGraph::DontCloneAuxCallNodes);
+ copyGlobalAuxCalls? DSGraph::CloneAuxCallNodes
+ :DSGraph::DontCloneAuxCallNodes);
if (printAuxCalls) GlobalsGraph->setPrintAuxCalls();
//
More information about the llvm-commits
mailing list