[cfe-commits] r46535 - /cfe/trunk/Analysis/ExplodedGraph.cpp
Ted Kremenek
kremenek at apple.com
Tue Jan 29 15:31:10 PST 2008
Author: kremenek
Date: Tue Jan 29 17:31:09 2008
New Revision: 46535
URL: http://llvm.org/viewvc/llvm-project?rev=46535&view=rev
Log:
Fixed bit-setting bug for ExplodedNodeImpl::NodeGroup.
Modified:
cfe/trunk/Analysis/ExplodedGraph.cpp
Modified: cfe/trunk/Analysis/ExplodedGraph.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Analysis/ExplodedGraph.cpp?rev=46535&r1=46534&r2=46535&view=diff
==============================================================================
--- cfe/trunk/Analysis/ExplodedGraph.cpp (original)
+++ cfe/trunk/Analysis/ExplodedGraph.cpp Tue Jan 29 17:31:09 2008
@@ -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);
More information about the cfe-commits
mailing list