summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-01-16 05:49:09 +0000
committerTed Kremenek <kremenek@apple.com>2008-01-16 05:49:09 +0000
commit29185f17e9335dfd48181a0ae9c5a1b50ff619b5 (patch)
tree65a30cde70e5f563f197b27d4188defc92987380 /clang
parentb3696e4f1466a93ca88676274fc60e7eecb1e8e2 (diff)
downloadbcm5719-llvm-29185f17e9335dfd48181a0ae9c5a1b50ff619b5.tar.gz
bcm5719-llvm-29185f17e9335dfd48181a0ae9c5a1b50ff619b5.zip
Changed 'Profile' method for DSPtr to incorporate the flags from the
variant type, and not just the pointer value. llvm-svn: 46049
Diffstat (limited to 'clang')
-rw-r--r--clang/Analysis/GRConstants.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/Analysis/GRConstants.cpp b/clang/Analysis/GRConstants.cpp
index 2e1aabdcf02..314902e922f 100644
--- a/clang/Analysis/GRConstants.cpp
+++ b/clang/Analysis/GRConstants.cpp
@@ -52,7 +52,7 @@ public:
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; }
OpenPOWER on IntegriCloud