Skip to content

Commit

Permalink
cleanup some code duplication and obfucation
Browse files Browse the repository at this point in the history
  • Loading branch information
braddr committed May 7, 2012
1 parent 30caf40 commit a3d6b39
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions src/backend/out.c
Expand Up @@ -1041,17 +1041,17 @@ STATIC void writefunc2(symbol *sfunc)
s->Sflags &= ~(SFLunambig | GTregcand);
switch (s->Sclass)
{
#if SCPP
case SCauto:
case SCregister:
s->Sfl = FLauto;
goto L3;
case SCtmp:
s->Sfl = FLtmp;
goto L3;
case SCbprel:
s->Sfl = FLbprel;
goto L3;
case SCauto:
case SCregister:
s->Sfl = FLauto;
goto L3;
#if SCPP
case SCfastpar:
case SCregpar:
case SCparameter:
Expand All @@ -1066,16 +1066,8 @@ STATIC void writefunc2(symbol *sfunc)
assert(s->Sclass != SCfastpar);
#else
case SCfastpar:
case SCauto:
case SCregister:
s->Sfl = FLauto;
goto L3;
case SCtmp:
s->Sfl = FLtmp;
goto L3;
case SCbprel:
s->Sfl = FLbprel;
goto L3;
case SCregpar:
case SCparameter:
#endif
Expand Down

0 comments on commit a3d6b39

Please sign in to comment.