aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/DataStructure/Local.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-07-18 18:19:09 +0000
committerChris Lattner <sabre@nondot.org>2002-07-18 18:19:09 +0000
commit2a2c490154375269345edf08bf5ed3ff210376a0 (patch)
tree771650978b9c39ad4c9851160045273a9da22d95 /lib/Analysis/DataStructure/Local.cpp
parent2dfbe3a751e717387c862399285eff5b795d333f (diff)
Rename removeDeadNodes to removeTriviallyDeadNodes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2969 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/Local.cpp')
-rw-r--r--lib/Analysis/DataStructure/Local.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Analysis/DataStructure/Local.cpp b/lib/Analysis/DataStructure/Local.cpp
index f9e6a994c6..6d8b1b385d 100644
--- a/lib/Analysis/DataStructure/Local.cpp
+++ b/lib/Analysis/DataStructure/Local.cpp
@@ -47,7 +47,9 @@ namespace {
getValueNode(*I);
visit(G.getFunction()); // Single pass over the function
- G.removeDeadNodes();
+
+ // Not inlining, only eliminate trivially dead nodes.
+ G.removeTriviallyDeadNodes();
}
private: