Fixed bug where getBitRef would incorrectly grab the bit from the

wrong bitvector.

llvm-svn: 42114
This commit is contained in:
Ted Kremenek 2007-09-18 23:30:45 +00:00
parent 9427b0e23b
commit d51126b97e
1 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ public:
ExprBV.reset();
}
bool equal(ValTy& RHS) const {
bool operator==(ValTy& RHS) const {
return DeclBV == RHS.DeclBV && ExprBV == RHS.ExprBV;
}
@ -89,7 +89,7 @@ public:
llvm::BitVector::reference getBitRef(const Expr* E,
AnalysisDataTy& AD) {
assert (AD.isTracked(E) && "Expr not tracked.");
return DeclBV[AD.EMap[E]];
return ExprBV[AD.EMap[E]];
}
bool sizesEqual(ValTy& RHS) {