Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.18
 
1.19
 
MAIN:ragge:20040621081946
 
optim.c
_>122122                 goto setuleft;
 123123 
 124124         case MINUS:
<> 125+                if (LCON(p) && RCON(p) && p->n_left->n_sp == p->n_right->n_sp) {
  126+                        /* link-time constants, but both are the same */
  127+                        /* solve it now by forgetting the symbols */
  128+                        p->n_left->n_sp = p->n_right->n_sp = NULL;
  129+                }
125130                 if( !nncon(p->n_right) ) break;
 126131                 RV(p) = -RV(p);
 127132                 o = p->n_op = PLUS;
     
 !
190195                 break;
 191196 
 192197         case DIV:
<>193 -                if( nncon( p->n_right ) && p->n_right->n_lval == 1 ) goto zapright;
  198+                if( nncon( p->n_right ) && p->n_right->n_lval == 1 )
  199+                        goto zapright;
  200+                if (LCON(p) && RCON(p) && conval(p->n_left, DIV, p->n_right))
  201+                        goto zapright;
<_194202                 break;
 195203 
 196204         case EQ:
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-02 03:54 +0200