From d7b137d9fb874faf91dd66cd3a1eae4aa22644d0 Mon Sep 17 00:00:00 2001 From: Tanya Lattner Date: Thu, 5 Feb 2004 04:45:21 +0000 Subject: [PATCH] Fixed Chris' typo. llvm-svn: 11128 --- lib/Analysis/LoadValueNumbering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Analysis/LoadValueNumbering.cpp b/lib/Analysis/LoadValueNumbering.cpp index 7726afecd89..eae09aba686 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.