eliminate the ability to remove global nodes from deadNodeElminate... for now.

This slows stuff down a bit, but it should get much better before it gets any
worse.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4666 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2002-11-09 22:07:02 +00:00
parent dd398486ca
commit f40f0a39bd
7 changed files with 12 additions and 36 deletions

View File

@@ -135,7 +135,7 @@ public:
// from the caller's graph entirely. This is only appropriate to use when
// inlining graphs.
//
void removeDeadNodes(bool KeepAllGlobals);
void removeDeadNodes();
// CloneFlags enum - Bits that may be passed into the cloneInto method to
// specify how to clone the function graph.
@@ -172,7 +172,7 @@ private:
// merged with other nodes in the graph. This is used as the first step of
// removeDeadNodes.
//
void removeTriviallyDeadNodes(bool KeepAllGlobals = false);
void removeTriviallyDeadNodes();
};
#endif