summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-11-07 07:06:20 +0000
committerChris Lattner <sabre@nondot.org>2002-11-07 07:06:20 +0000
commit5e865cdbe26bb91abc903300bfc231cd1e14a91c (patch)
tree08c8c3a2a3bbca59a889088bcaac55e9264241ae /llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp
parentdf307e6fd0964dc81dd8cbc8bfefb6ace6298508 (diff)
downloadbcm5719-llvm-5e865cdbe26bb91abc903300bfc231cd1e14a91c.tar.gz
bcm5719-llvm-5e865cdbe26bb91abc903300bfc231cd1e14a91c.zip
Instead of using a bool that constant has to be explained, use a self
explanitory enum instead. llvm-svn: 4600
Diffstat (limited to 'llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp')
-rw-r--r--llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp b/llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp
index cbe53ce68e2..ed9336d2b73 100644
--- a/llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp
+++ b/llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp
@@ -93,7 +93,7 @@ DSGraph &BUDataStructures::calculateGraph(Function &F) {
DEBUG(std::cerr << "\t[BU] Self Inlining: " << F.getName() << "\n");
// Handle self recursion by resolving the arguments and return value
- Graph->mergeInGraph(Call, *Graph, true);
+ Graph->mergeInGraph(Call, *Graph, DSGraph::StripAllocaBit);
// Erase the entry in the callees vector
Callees.erase(Callees.begin()+c--);
@@ -120,7 +120,7 @@ DSGraph &BUDataStructures::calculateGraph(Function &F) {
CallSitesForFunc.back().setCallee(0);
// Handle self recursion by resolving the arguments and return value
- Graph->mergeInGraph(Call, GI, true);
+ Graph->mergeInGraph(Call, GI, DSGraph::StripAllocaBit);
// Erase the entry in the Callees vector
Callees.erase(Callees.begin()+c--);
OpenPOWER on IntegriCloud