Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.38
 
1.39
 
MAIN:ragge:20030623214814
 
trees.c
_>16061606         int o = p->n_op, i;
 16071607 
 16081608         if( o == DCON || o == FCON ){
<>1609 -                (void) locctr( DATA );
  1609+                send_passt(IP_LOCCTR, DATA);
16101610                 defalign( o == DCON ? ALDOUBLE : ALFLOAT );
 16111611                 deflab(i = getlab());
 16121612                 if( o == FCON )
     
 !
16361636                 }
 16371637         p = optim(p);
 16381638         walkf( p, prtdcon );
<>1639 -        (void) locctr( PROG );
  1639+        send_passt(IP_LOCCTR, PROG);
16401640         ecode( p );
 16411641         tfree(p);
 16421642         }
     
 !
16551655 
 16561656         ty = optype(p->n_op);
 16571657 
<>1658 -        p1print("%d\t", p->n_op);
  1658+        printf("%d\t", p->n_op);
16591659 
 16601660         if (ty == LTYPE) {
<>1661 -                p1print(CONFMT, p->n_lval);
 1662 -                p1print("\t");
  1661+                printf(CONFMT, p->n_lval);
  1662+                printf("\t");
16631663         }
 16641664         if (ty != BITYPE) {
 16651665                 if (p->n_op == NAME || p->n_op == ICON)
<>1666 -                        p1print("0\t");
  1666+                        printf("0\t");
16671667                 else
<>1668 -                        p1print("%d\t", p->n_rval);
  1668+                        printf("%d\t", p->n_rval);
16691669                 }
 16701670 
 16711671         printf("%o\t", p->n_type);
     
 !
16801680                 if (p->n_sp != NULL) {
 16811681                         if (p->n_sp->sflags & SLABEL ||
 16821682                             p->n_sp->sclass == ILABEL) {
<>1683 -                                p1print(LABFMT, p->n_sp->soffset);
  1683+                                printf(LABFMT, p->n_sp->soffset);
16841684                         } else
<>1685 -                                p1print("%s\n", exname(q->sname));
  1685+                                printf("%s\n", exname(q->sname));
16861686                 } else
<>1687 -                        p1print("\n");
  1687+                        printf("\n");
16881688                 break;
 16891689 
 16901690         case STARG:
     
 !
17851785 }
 17861786 
 17871787 /*
<>1788 - * Printout something in pass1.
 1789 - * This is spooled up if inline is defined.
 1790 - * XXX - should be done in some other way.
 1791 - */
 1792 -void
 1793 -p1print(char *fmt, ...)
 1794 -{
 1795 -        va_list ap;
 1796 -        char *buf;
 1797 -
 1798 -        va_start(ap, fmt);
 1799 -        if (isinlining) {
 1800 -                vasprintf(&buf, fmt, ap);
 1801 -                inline_savestring(buf);
 1802 -        } else
 1803 -                vprintf(fmt, ap);
 1804 -        va_end(ap);
 1805 -}
 1806 -
 1807 -/*
18081788  * Send something further on to the next pass.
 18091789  */
 18101790 void
     
 !
18271807                 ip->ip_auto = va_arg(ap, int);
 18281808                 ip->ip_retl = va_arg(ap, int);
 18291809                 break;
<> 1810+        case IP_LOCCTR:
  1811+                ip->ip_locc = va_arg(ap, int);
  1812+                break;
  1813+        case IP_DEFLAB:
  1814+                ip->ip_lbl = va_arg(ap, int);
  1815+                break;
  1816+        case IP_INIT:
  1817+        case IP_DEFNAM:
  1818+                ip->ip_name = va_arg(ap, char *);
  1819+                ip->ip_vis = va_arg(ap, int);
  1820+                break;
<_18301821         default:
 18311822                 cerror("bad send_passt type %d", type);
 18321823         }
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-09-03 04:02 +0200