Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.13
 
1.14
 
MAIN:ragge:20110627175414
 
local2.c
_>368368                         register NODE *l, *r;
 369369                         register int size;
 370370 
<> 371+                        size = p->n_stsize;
371372                         l = r = NULL; /* XXX gcc */
 372373                         if( p->n_op == STASG ){
 373374                                 l = p->n_left;
 374375                                 r = p->n_right;
 375376 
 376377                                 }
<>377 -                        else if( p->n_op == STARG ){  /* store an arg into a temporary */
 378 -                                l = getlr( p, '3' );
  378+                        else if( p->n_op == STARG ){
  379+                                /* store an arg into a temporary */
  380+                                printf("\tsubl2 $%d,%%sp\n",
  381+                                    size < 4 ? 4 : size);
  382+                                l = mklnode(OREG, 0, SP, INT);
379383                                 r = p->n_left;
 380384                                 }
 381385                         else cerror( "STASG bad" );
     
 !
384388                         else if( r->n_op == REG ) r->n_op = OREG;
 385389                         else if( r->n_op != OREG ) cerror( "STASG-r" );
 386390 
<>387 -                        size = p->n_stsize;
 388 -
389391                         if( size <= 0 || size > 65535 )
 390392                                 cerror("structure size <0=0 or >65535");
 391393 
     
 !
413415 
 414416                         if( r->n_op == NAME ) r->n_op = ICON;
 415417                         else if( r->n_op == OREG ) r->n_op = REG;
<> 418+                        if (p->n_op == STARG)
  419+                                tfree(l);
<_416420 
 417421                         }
 418422                 break;
FishEye: Open Source License registered to PCC.
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-12-18 05:12 +0100