[llvm-commits] CVS: llvm/lib/Transforms/Scalar/GVNPRE.cpp

Owen Anderson resistor at mac.com
Sat Jun 2 22:58:47 PDT 2007



Changes in directory llvm/lib/Transforms/Scalar:

GVNPRE.cpp updated: 1.11 -> 1.12
---
Log message:

Remove an unused method.


---
Diffs of the changes:  (+0 -5)

 GVNPRE.cpp |    5 -----
 1 files changed, 5 deletions(-)


Index: llvm/lib/Transforms/Scalar/GVNPRE.cpp
diff -u llvm/lib/Transforms/Scalar/GVNPRE.cpp:1.11 llvm/lib/Transforms/Scalar/GVNPRE.cpp:1.12
--- llvm/lib/Transforms/Scalar/GVNPRE.cpp:1.11	Sun Jun  3 00:55:58 2007
+++ llvm/lib/Transforms/Scalar/GVNPRE.cpp	Sun Jun  3 00:58:25 2007
@@ -76,7 +76,6 @@
     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 @@
   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) {






More information about the llvm-commits mailing list