Fixed bit-setting bug for ExplodedNodeImpl::NodeGroup.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46535 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Analysis/ExplodedGraph.cpp b/Analysis/ExplodedGraph.cpp
index 1cfb02c..826162f 100644
--- a/Analysis/ExplodedGraph.cpp
+++ b/Analysis/ExplodedGraph.cpp
@@ -28,7 +28,7 @@
std::vector<ExplodedNodeImpl*>* V = new std::vector<ExplodedNodeImpl*>();
V->push_back(NOld);
V->push_back(N);
- P = reinterpret_cast<uintptr_t>(V) & SizeOther;
+ P = reinterpret_cast<uintptr_t>(V) | SizeOther;
}
else
P = reinterpret_cast<uintptr_t>(N);