aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/LoadValueNumbering.cpp
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2004-02-05 04:45:21 +0000
committerTanya Lattner <tonic@nondot.org>2004-02-05 04:45:21 +0000
commit1ad5bc5616c783cfc4982d7df136a60a54dec466 (patch)
tree06d14d20c2d77a177b8316914f744c4d6df1efc7 /lib/Analysis/LoadValueNumbering.cpp
parente8425c5a5e5b6e278a359c56acd48aed2ae8b9b4 (diff)
Fixed Chris' typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11128 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/LoadValueNumbering.cpp')
-rw-r--r--lib/Analysis/LoadValueNumbering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/LoadValueNumbering.cpp b/lib/Analysis/LoadValueNumbering.cpp
index 7726afecd8..eae09aba68 100644
--- a/lib/Analysis/LoadValueNumbering.cpp
+++ b/lib/Analysis/LoadValueNumbering.cpp
@@ -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.