diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-01-29 23:31:09 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-01-29 23:31:09 +0000 |
commit | 45c63bd37542507b1f8a6b457665f179052d857b (patch) | |
tree | bfb5605cc42942570f84e8f350407eca656bc006 /Analysis/ExplodedGraph.cpp | |
parent | 47fb6977509a285501d02611845e9f8e081a15e1 (diff) |
Fixed bit-setting bug for ExplodedNodeImpl::NodeGroup.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46535 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Analysis/ExplodedGraph.cpp')
-rw-r--r-- | Analysis/ExplodedGraph.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Analysis/ExplodedGraph.cpp b/Analysis/ExplodedGraph.cpp index 1cfb02c787..826162f243 100644 --- a/Analysis/ExplodedGraph.cpp +++ b/Analysis/ExplodedGraph.cpp @@ -28,7 +28,7 @@ void ExplodedNodeImpl::NodeGroup::addNode(ExplodedNodeImpl* N) { 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); |