Fix a typo

llvm-svn: 37350
This commit is contained in:
Owen Anderson 2007-05-29 23:34:14 +00:00
parent a6e9a4ce07
commit 4b0c1859fd
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ bool GVNPRE::runOnFunction(Function &F) {
for (unsigned i = 0; i < BB->getTerminator()->getNumSuccessors(); ++i) {
BasicBlock* currSucc = BB->getTerminator()->getSuccessor(i);
std::set<Expression> temp;
if (visted.find(currSucc) == visited.end())
if (visited.find(currSucc) == visited.end())
temp.insert(maximalSet.begin(), maximalSet.end());
else
temp.insert(anticIn.begin(), anticIn.end());