diff options
author | Owen Anderson <resistor@mac.com> | 2007-06-03 05:58:25 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2007-06-03 05:58:25 +0000 |
commit | 10ac137d0b71ea981af6ae59f1ee20c05cff33e9 (patch) | |
tree | de96989d9ff8410bb3e2ea8b44069a11631d4e0c | |
parent | a724ac1a73ca09e1a95f754fd457112e06833841 (diff) |
Remove an unused method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37402 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/Scalar/GVNPRE.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Transforms/Scalar/GVNPRE.cpp b/lib/Transforms/Scalar/GVNPRE.cpp index 4b27342c3e..6a9a08e430 100644 --- a/lib/Transforms/Scalar/GVNPRE.cpp +++ b/lib/Transforms/Scalar/GVNPRE.cpp @@ -76,7 +76,6 @@ namespace { void dump(ValueTable& VN, std::set<Value*, ExprLT>& s); void clean(ValueTable VN, std::set<Value*, ExprLT>& set); bool add(ValueTable& VN, std::set<Value*, ExprLT>& MS, Value* V); - ValueTable::iterator lookup(ValueTable& VN, Value* V); Value* find_leader(ValueTable VN, std::set<Value*, ExprLT>& vals, uint32_t v); void phi_translate(ValueTable& VN, std::set<Value*, ExprLT>& MS, std::set<Value*, ExprLT>& anticIn, BasicBlock* B, @@ -117,10 +116,6 @@ bool GVNPRE::add(ValueTable& VN, std::set<Value*, ExprLT>& MS, Value* V) { return ret.second; } -GVNPRE::ValueTable::iterator GVNPRE::lookup(ValueTable& VN, Value* V) { - return VN.find(V); -} - Value* GVNPRE::find_leader(GVNPRE::ValueTable VN, std::set<Value*, ExprLT>& vals, uint32_t v) { |