Rename removeDeadNodes to removeTriviallyDeadNodes
authorChris Lattner <sabre@nondot.org>
Thu, 18 Jul 2002 18:19:09 +0000 (18:19 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 18 Jul 2002 18:19:09 +0000 (18:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2969 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/DataStructure/Local.cpp

index f9e6a994c684d2facd2652e78feb40e769fa737c..6d8b1b385dcff72396b74d4b10171a6e71732305 100644 (file)
@@ -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: