From: Ted Kremenek Date: Wed, 16 Jan 2008 05:51:13 +0000 (+0000) Subject: Adjusted DSPtr::Profile method again, since my last patch broke the build. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9849185956f2dc24278284e4e110baf3b4b92850;p=clang Adjusted DSPtr::Profile method again, since my last patch broke the build. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46051 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Analysis/GRConstants.cpp b/Analysis/GRConstants.cpp index 314902e922..e83afb79ee 100644 --- a/Analysis/GRConstants.cpp +++ b/Analysis/GRConstants.cpp @@ -52,7 +52,8 @@ public: bool isSubExpr() const { return getKind() == IsSubExp; } inline void Profile(llvm::FoldingSetNodeID& ID) const { - ID.AddInteger(Raw); + ID.AddPointer(getPtr()); + ID.AddInteger((unsigned) getKind()); } inline bool operator==(const DSPtr& X) const { return Raw == X.Raw; } inline bool operator!=(const DSPtr& X) const { return Raw != X.Raw; }