summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit4f99733c8c7cde00b063295b48c3147a45b06928 (patch)
treef87b7686d5d06c8cde74511eeda3b7d669cf9638 /llvm/lib/Analysis/DataStructure/Local.cpp
parentc04eeaadeda072ec1a0f99f7ade8ed80f15924aa (diff)
downloadbcm5719-llvm-4f99733c8c7cde00b063295b48c3147a45b06928.tar.gz
bcm5719-llvm-4f99733c8c7cde00b063295b48c3147a45b06928.zip
Rename removeDeadNodes to removeTriviallyDeadNodes
llvm-svn: 2969
Diffstat (limited to 'llvm/lib/Analysis/DataStructure/Local.cpp')
-rw-r--r--llvm/lib/Analysis/DataStructure/Local.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/DataStructure/Local.cpp b/llvm/lib/Analysis/DataStructure/Local.cpp
index f9e6a994c68..6d8b1b385dc 100644
--- a/llvm/lib/Analysis/DataStructure/Local.cpp
+++ b/llvm/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:
OpenPOWER on IntegriCloud