Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.188
 
1.189
 
MAIN:ragge:20060604094958
 
reader.c
_>595595 static void
 596596 ckmove(NODE *p, NODE *q)
 597597 {
<>598 -        if (q->n_op != REG)
  598+        if (q->n_op != REG || p->n_reg == -1)
599599                 return; /* no register */
 600600         if (DECRA(p->n_reg, 0) == DECRA(q->n_reg, 0))
 601601                 return; /* no move necessary */
     
 !
765765         if (p->n_su == 0)
 766766                 return;
 767767 
<>768 -//      canon(p);
 769 -//fwalk(p, e2print, 0);
770768         expand(p, cookie, q->cstring);
 771769         if (callop(p->n_op) && cookie != FOREFF &&
 772770             DECRA(p->n_reg, 0) != RETREG(p->n_type)) {
     
 !
850848         fprintf(prfil, ", " );
 851849         {
 852850                 int gregn(struct regw *);
<>853 -                if (p->n_reg < 100000) /* XXX */
  851+                if (p->n_reg == -1)
  852+                        fprintf(prfil, "REG <undef>");
  853+                else if (p->n_reg < 100000) /* XXX */
<_854854                         fprintf(prfil, "REG %s", rnames[DECRA(p->n_reg, 0)]);
 855855                 else
 856856                         fprintf(prfil, "TEMP %d", gregn(p->n_regw));
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-22 03:48 +0100