Instead of using a bool that constant has to be explained, use a self

explanitory enum instead.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4600 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2002-11-07 07:06:20 +00:00
parent 076c1f923b
commit 460ea29b45
5 changed files with 34 additions and 25 deletions

View File

@@ -177,7 +177,7 @@ DSGraph &TDDataStructures::calculateGraph(Function &F) {
// Strip scalars but not allocas since they are alive in callee.
//
DSNodeHandle RetVal = Graph->cloneInto(CG, OldValMap, OldNodeMap,
/*StripAllocas*/ false);
DSGraph::KeepAllocaBit);
ResolveCallSite(*Graph, DSCallSite(CallSiteInCG, OldNodeMap));
}