[cfe-commits] r46049 - /cfe/trunk/Analysis/GRConstants.cpp
Ted Kremenek
kremenek at apple.com
Tue Jan 15 21:49:09 PST 2008
Author: kremenek
Date: Tue Jan 15 23:49:09 2008
New Revision: 46049
URL: http://llvm.org/viewvc/llvm-project?rev=46049&view=rev
Log:
Changed 'Profile' method for DSPtr to incorporate the flags from the
variant type, and not just the pointer value.
Modified:
cfe/trunk/Analysis/GRConstants.cpp
Modified: cfe/trunk/Analysis/GRConstants.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Analysis/GRConstants.cpp?rev=46049&r1=46048&r2=46049&view=diff
==============================================================================
--- cfe/trunk/Analysis/GRConstants.cpp (original)
+++ cfe/trunk/Analysis/GRConstants.cpp Tue Jan 15 23:49:09 2008
@@ -52,7 +52,7 @@
bool isSubExpr() const { return getKind() == IsSubExp; }
inline void Profile(llvm::FoldingSetNodeID& ID) const {
- ID.AddPointer(getPtr());
+ ID.AddInteger(Raw);
}
inline bool operator==(const DSPtr& X) const { return Raw == X.Raw; }
inline bool operator!=(const DSPtr& X) const { return Raw != X.Raw; }
More information about the cfe-commits
mailing list