projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9d5d2c
)
Get rid of compilation warning during release builds
author
Bill Wendling
<isanbard@gmail.com>
Thu, 1 Nov 2007 08:24:40 +0000
(08:24 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Thu, 1 Nov 2007 08:24:40 +0000
(08:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43608
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Constants.h
patch
|
blob
|
history
diff --git
a/include/llvm/Constants.h
b/include/llvm/Constants.h
index c8552395313cb160dc1a42d3d6e846b5ec12cc68..a2595904672d304e30b50f70d9cfb39f858279d2 100644
(file)
--- a/
include/llvm/Constants.h
+++ b/
include/llvm/Constants.h
@@
-247,8
+247,8
@@
public:
return isExactlyValue(APFloat(V));
else if (&Val.getSemantics() == &APFloat::IEEEsingle)
return isExactlyValue(APFloat((float)V));
- else
-
assert(0)
;
+ assert(0);
+
return false
;
}
/// Methods for support type inquiry through isa, cast, and dyn_cast:
static inline bool classof(const ConstantFP *) { return true; }