Skip to content

Commit

Permalink
Merge pull request #4701 from WalterBright/rmcond
Browse files Browse the repository at this point in the history
remove pointless specialization in gloop.c
  • Loading branch information
yebblies authored and WalterBright committed May 31, 2015
1 parent f3eeee6 commit f6b6bae
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/backend/gloop.c
Original file line number Diff line number Diff line change
Expand Up @@ -1921,28 +1921,6 @@ STATIC famlist * newfamlist(tym_t ty)
case TYldouble:
c.Vldouble = 1;
break;
#if _MSDOS || __OS2__ || _WIN32 // if no byte ordering problems
#if TARGET_SEGMENTED
case TYsptr:
case TYcptr:
case TYnptr:
case TYfptr:
case TYvptr:
#endif
/* Convert pointers to integrals to avoid things like */
/* multiplying pointers */
ty = TYptrdiff;
/* FALL-THROUGH */
default:
c.Vlong = 1;
break;
#if TARGET_SEGMENTED
case TYhptr:
ty = TYlong;
c.Vlong = 1;
break;
#endif
#else
case TYbool:
case TYchar:
case TYschar:
Expand Down Expand Up @@ -1982,7 +1960,6 @@ STATIC famlist * newfamlist(tym_t ty)
default:
c.Vlong = 1;
break;
#endif
}
fl->c1 = el_const(ty,&c); /* c1 = 1 */
c.Vldouble = 0;
Expand Down

0 comments on commit f6b6bae

Please sign in to comment.