Fixed Chris' typo.
llvm-svn: 11128
diff --git a/llvm/lib/Analysis/LoadValueNumbering.cpp b/llvm/lib/Analysis/LoadValueNumbering.cpp
index 7726afe..eae09ab 100644
--- a/llvm/lib/Analysis/LoadValueNumbering.cpp
+++ b/llvm/lib/Analysis/LoadValueNumbering.cpp
@@ -266,7 +266,7 @@
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.