diff options
Diffstat (limited to 'lib/Analysis/LoadValueNumbering.cpp')
-rw-r--r-- | lib/Analysis/LoadValueNumbering.cpp | 2 |
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. |