Remove an unused method.
authorOwen Anderson <resistor@mac.com>
Sun, 3 Jun 2007 05:58:25 +0000 (05:58 +0000)
committerOwen Anderson <resistor@mac.com>
Sun, 3 Jun 2007 05:58:25 +0000 (05:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37402 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/GVNPRE.cpp

index 4b27342c3ed82988dffed5b265a1f0089a20f403..6a9a08e43090c84577a2d3655bdee44aeb4824f4 100644 (file)
@@ -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) {