Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.165
 
1.166
 
MAIN:ragge:20060101161701
 
reader.c
_>677677 
 678678         if (p->n_op == REG && DECRD(p->n_reg) == p->n_rval)
 679679                 return; /* meaningless move to itself */
<>680 -
681680         if (p->n_su & DORIGHT) {
 682681                 gencode(p->n_right, INREGS);
 683682                 if ((p->n_su & RMASK) == ROREG)
     
 !
755754                         rmove(rr, DECRD(p->n_reg), p->n_type);
 756755         } else if ((q->rewrite & RESC1) &&
 757756             (DECRA1(p->n_reg) != DECRD(p->n_reg))) {
<>758 -printf("a: reg %x rval %d\n", p->n_reg, p->n_rval);
759757                 rmove(DECRA1(p->n_reg), DECRD(p->n_reg), p->n_type);
<>760 -printf("b\n");
761758         }
 762759         rewrite(p, q->rewrite, cookie);
 763760 }
     
 !
971968 
 972969         if (p->n_op == UMUL) {
 973970                 q = p->n_left;
<>974 -                if (q->n_op == REG) {
  971+                if (q->n_op == REG && q->n_rval == DECRD(q->n_reg)) {
975972                         temp = q->n_lval;
 976973                         r = q->n_rval;
 977974                         cp = q->n_name;
     
 !
1002999 #endif
 10031000 
 10041001                 if( (q->n_op==PLUS || q->n_op==MINUS) && qr->n_op == ICON &&
<>1005 -                                ql->n_op==REG && szty(qr->n_type)==1) {
  1002+                                ql->n_op==REG && szty(qr->n_type)==1 &&
  1003+                                ql->n_rval == DECRD(ql->n_reg)) {
10061004                         temp = qr->n_lval;
 10071005                         if( q->n_op == MINUS ) temp = -temp;
 10081006                         r = ql->n_rval;
     
 !
11631161         p->n_lval = lval;
 11641162         p->n_rval = rval;
 11651163         p->n_type = type;
<> 1164+        p->n_regw = NULL;
11661165         return p;
 11671166 }
 11681167 
     
 !
11771176         p->n_left = left;
 11781177         p->n_right = right;
 11791178         p->n_type = type;
<> 1179+        p->n_regw = NULL;
11801180         return p;
 11811181 }
 11821182 
     
 !
11911191         p->n_left = left;
 11921192         p->n_rval = rval;
 11931193         p->n_type = type;
<> 1194+        p->n_regw = NULL;
<_11941195         return p;
 11951196 }
 11961197 
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-16 04:59 +0200