diff options
author | Michael Forney <mforney@mforney.org> | 2019-02-15 16:29:32 -0800 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2019-02-15 16:50:24 -0800 |
commit | c0984480b6d6688d32e1023caba6a97beb3fa4e7 (patch) | |
tree | 4121345d41492a7506c7c640dae89fcf76543431 | |
parent | d31d1b2b20291ef8bceaf17444843b11558a3c25 (diff) | |
download | cproc-c0984480b6d6688d32e1023caba6a97beb3fa4e7.tar.xz |
Remove a dead conditional in ftou
-rw-r--r-- | qbe.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -502,8 +502,8 @@ ftou(struct function *f, struct representation *r, struct value *v) phi[2] = mkblock("ftou_big"); join = mkblock("ftou_join"); - maxflt = mkfltconst(v->repr, r->base == 'w' ? 0x1p31 : 0x1p63); - maxint = mkintconst(&i64, r->base == 'w' ? 1ull<<31 : 1ull<<63); + maxflt = mkfltconst(v->repr, 0x1p63); + maxint = mkintconst(&i64, 1ull<<63); big = funcinst(f, v->repr->base == 's' ? ICGES : ICGED, &i32, (struct value *[]){v, maxflt}); funcjnz(f, big, phi[2], phi[0]); |