diff options
Diffstat (limited to 'lib/Expr/Expr.cpp')
-rw-r--r-- | lib/Expr/Expr.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Expr/Expr.cpp b/lib/Expr/Expr.cpp index e8024fc9..6e70e6f2 100644 --- a/lib/Expr/Expr.cpp +++ b/lib/Expr/Expr.cpp @@ -165,7 +165,8 @@ unsigned Expr::computeHash() { } unsigned ConstantExpr::computeHash() { - return asUInt64 ^ (width * MAGIC_HASH_CONSTANT); + hashValue = asUInt64 ^ (width * MAGIC_HASH_CONSTANT); + return hashValue; } unsigned CastExpr::computeHash() { |