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