diff options
Diffstat (limited to 'lib/Transforms/Scalar/GVNPRE.cpp')
-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) { |