summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-05-14 22:53:25 +0000
committerDale Johannesen <dalej@apple.com>2008-05-14 22:53:25 +0000
commitfa48372a24463e5516bd32ad2a777e317fca81c7 (patch)
tree958993b2c42143bbb5ace4298c6e3132ebd33f82 /llvm/lib
parent3716952f10e8c313184e156b0f095ac614fd6dab (diff)
downloadbcm5719-llvm-fa48372a24463e5516bd32ad2a777e317fca81c7.tar.gz
bcm5719-llvm-fa48372a24463e5516bd32ad2a777e317fca81c7.zip
Don't assume underlying APInt type is limited
to 64 bits. llvm-svn: 51135
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Support/APFloat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/APFloat.cpp b/llvm/lib/Support/APFloat.cpp
index de333829dae..0ee3d546b86 100644
--- a/llvm/lib/Support/APFloat.cpp
+++ b/llvm/lib/Support/APFloat.cpp
@@ -2003,7 +2003,7 @@ APFloat::convertFromHexadecimalString(const char *p,
firstSignificantDigit = p;
for(;;) {
- uint64_t hex_value;
+ integerPart hex_value;
if(*p == '.') {
assert(dot == 0);
OpenPOWER on IntegriCloud