summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-09-14 20:08:19 +0000
committerDan Gohman <gohman@apple.com>2007-09-14 20:08:19 +0000
commit58c468fb09fd79c6f0af348f8185734b46766100 (patch)
tree64f466d332ff2d380c342634181addc1b5a182f8 /llvm/lib/Support
parentaefb23092ca0be00a2bde958518039102d7939fe (diff)
downloadbcm5719-llvm-58c468fb09fd79c6f0af348f8185734b46766100.tar.gz
bcm5719-llvm-58c468fb09fd79c6f0af348f8185734b46766100.zip
Remove spurious consts. This fixes warnings with compilers that
are strict about such things. llvm-svn: 41956
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/APFloat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/APFloat.cpp b/llvm/lib/Support/APFloat.cpp
index 397ff6d164f..68c1fccc418 100644
--- a/llvm/lib/Support/APFloat.cpp
+++ b/llvm/lib/Support/APFloat.cpp
@@ -1629,7 +1629,7 @@ APFloat::convertF80LongDoubleAPFloatToAPInt() const {
APInt
APFloat::convertDoubleAPFloatToAPInt() const {
- assert(semantics == (const llvm::fltSemantics* const)&IEEEdouble);
+ assert(semantics == (const llvm::fltSemantics*)&IEEEdouble);
assert (partCount()==1);
uint64_t myexponent, mysignificand;
@@ -1659,7 +1659,7 @@ APFloat::convertDoubleAPFloatToAPInt() const {
APInt
APFloat::convertFloatAPFloatToAPInt() const {
- assert(semantics == (const llvm::fltSemantics* const)&IEEEsingle);
+ assert(semantics == (const llvm::fltSemantics*)&IEEEsingle);
assert (partCount()==1);
uint32_t myexponent, mysignificand;
OpenPOWER on IntegriCloud