aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Constants.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h
index 2d6893acf0..7e72879418 100644
--- a/include/llvm/Constants.h
+++ b/include/llvm/Constants.h
@@ -297,7 +297,7 @@ public:
double V;
uint64_t I;
} T2;
- T2.V = Val;
+ T2.V = V;
return T1.I == T2.I;
}