commit | 0321b68f6b1ee13cc4dc96902e4c3fe7d6d18632 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Feb 27 20:05:15 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Feb 27 20:05:15 2004 +0000 |
tree | 6756bb4af4ad200e8876850477e57fbcc0b4e3f3 | |
parent | 6b586df3283b1e6b9e83e1a6cec5b63dacba33bd [diff] [blame] |
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
diff --git a/lib/Analysis/DataStructure/BottomUpClosure.cpp b/lib/Analysis/DataStructure/BottomUpClosure.cpp index 2125064..08a5a15 100644 --- a/lib/Analysis/DataStructure/BottomUpClosure.cpp +++ b/lib/Analysis/DataStructure/BottomUpClosure.cpp
@@ -279,6 +279,9 @@ // 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 '"