summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-10-09 23:01:07 +0000
committerDale Johannesen <dalej@apple.com>2008-10-09 23:01:07 +0000
commit76b239158140647068d0a530fbf329774cd98f2d (patch)
tree4edf0544a168e2e2d15ac8ed49fc5a0e4767e898
parent4f0bd68cfe4f72902215e1c27411286a8bb7d641 (diff)
downloadbcm5719-llvm-76b239158140647068d0a530fbf329774cd98f2d.tar.gz
bcm5719-llvm-76b239158140647068d0a530fbf329774cd98f2d.zip
A file missed from previous checkin.
llvm-svn: 57330
-rw-r--r--llvm/include/llvm/Constants.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/Constants.h b/llvm/include/llvm/Constants.h
index 926f131ef5e..0706f61d12e 100644
--- a/llvm/include/llvm/Constants.h
+++ b/llvm/include/llvm/Constants.h
@@ -262,11 +262,12 @@ public:
bool isExactlyValue(const APFloat& V) const;
bool isExactlyValue(double V) const {
+ bool ignored;
// convert is not supported on this type
if (&Val.getSemantics() == &APFloat::PPCDoubleDouble)
return false;
APFloat FV(V);
- FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven);
+ FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven, &ignored);
return isExactlyValue(FV);
}
/// Methods for support type inquiry through isa, cast, and dyn_cast:
OpenPOWER on IntegriCloud