Fixed Chris' typo.
authorTanya Lattner <tonic@nondot.org>
Thu, 5 Feb 2004 04:45:21 +0000 (04:45 +0000)
committerTanya Lattner <tonic@nondot.org>
Thu, 5 Feb 2004 04:45:21 +0000 (04:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11128 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/LoadValueNumbering.cpp

index 7726afecd8992ae2246f38d4895c8c14b0b1eb92..eae09aba686c524ea06a187ef965e7d5f89878d7 100644 (file)
@@ -266,7 +266,7 @@ bool LoadVN::haveEqualValueNumber(LoadInst *L1, LoadInst *L2,
       return true;
     } else {
       // If we know that the downward scan found a modifier, return false.
-      assert(DownIt != B->end() && "Didn't find instructions??");
+      assert(DownIt != BB->end() && "Didn't find instructions??");
       if (!NoModifiesDown) return false;
       
       // Otherwise, continue the scan looking for a modifier or L2.