summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commitcb435541c4f8e9024d290478c5ecfe183ff71db9 (patch)
treedd0b81708c97d15a605089213dbd0ef9d02137af /llvm/lib
parentf127d9cf3347517035df9657cc5d6acdeede5454 (diff)
downloadbcm5719-llvm-cb435541c4f8e9024d290478c5ecfe183ff71db9.tar.gz
bcm5719-llvm-cb435541c4f8e9024d290478c5ecfe183ff71db9.zip
Fixed Chris' typo.
llvm-svn: 11128
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Analysis/LoadValueNumbering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/LoadValueNumbering.cpp b/llvm/lib/Analysis/LoadValueNumbering.cpp
index 7726afecd89..eae09aba686 100644
--- a/llvm/lib/Analysis/LoadValueNumbering.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud