Fixed bug where getBitRef would incorrectly grab the bit from the
wrong bitvector.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42114 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/clang/Analysis/UninitializedValues.h b/include/clang/Analysis/UninitializedValues.h
index f27cdc4..d116da5 100644
--- a/include/clang/Analysis/UninitializedValues.h
+++ b/include/clang/Analysis/UninitializedValues.h
@@ -71,7 +71,7 @@
       ExprBV.reset();
     }
     
-    bool equal(ValTy& RHS) const { 
+    bool operator==(ValTy& RHS) const { 
       return DeclBV == RHS.DeclBV && ExprBV == RHS.ExprBV; 
     }
     
@@ -89,7 +89,7 @@
     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) {