Adjusted DSPtr::Profile method again, since my last patch broke the build.

llvm-svn: 46051
This commit is contained in:
Ted Kremenek 2008-01-16 05:51:13 +00:00
parent 2e50a6f90f
commit 73e5f2bb17
1 changed files with 2 additions and 1 deletions

View File

@ -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; }