aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/DataStructure/BottomUpClosure.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-27 20:05:15 +0000
committerChris Lattner <sabre@nondot.org>2004-02-27 20:05:15 +0000
commit0321b68f6b1ee13cc4dc96902e4c3fe7d6d18632 (patch)
tree6756bb4af4ad200e8876850477e57fbcc0b4e3f3 /lib/Analysis/DataStructure/BottomUpClosure.cpp
parent6b586df3283b1e6b9e83e1a6cec5b63dacba33bd (diff)
Only clone global nodes between graphs if both graphs have the global.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11928 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/BottomUpClosure.cpp')
-rw-r--r--lib/Analysis/DataStructure/BottomUpClosure.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Analysis/DataStructure/BottomUpClosure.cpp b/lib/Analysis/DataStructure/BottomUpClosure.cpp
index 2125064030..08a5a15834 100644
--- a/lib/Analysis/DataStructure/BottomUpClosure.cpp
+++ b/lib/Analysis/DataStructure/BottomUpClosure.cpp
@@ -279,6 +279,9 @@ void BUDataStructures::calculateGraph(DSGraph &Graph) {
//
DSGraph &GI = getDSGraph(*Callee); // Graph to inline
+ if (Callee->getName() == "bc_raise")
+ std::cerr << "HERE!\n";
+
DEBUG(std::cerr << " Inlining graph for " << Callee->getName()
<< "[" << GI.getGraphSize() << "+"
<< GI.getAuxFunctionCalls().size() << "] into '"