From 2a2c490154375269345edf08bf5ed3ff210376a0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 18 Jul 2002 18:19:09 +0000 Subject: [PATCH] Rename removeDeadNodes to removeTriviallyDeadNodes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2969 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/DataStructure/Local.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Analysis/DataStructure/Local.cpp b/lib/Analysis/DataStructure/Local.cpp index f9e6a994c68..6d8b1b385dc 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: -- 2.34.1