Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.33
 
1.34
 
MAIN:ragge:20100405173726
 
optim.c
_>8383 NODE *
 8484 optim(NODE *p)
 8585 {
<> 86+        struct suedef *sue;
8687         int o, ty;
 8788         NODE *sp, *q;
 8889         int i;
     
 !
133134                 goto setuleft;
 134135 
 135136         case RS:
<> 137+                GETSUE(sue, p->n_sue);
  138+
136139                 if (LO(p) == RS && RCON(p->n_left) && RCON(p) &&
<>137 -                    (RV(p) + RV(p->n_left)) < p->n_sue->suesize) {
  140+                    (RV(p) + RV(p->n_left)) < sue->suesize) {
138141                         /* two right-shift  by constants */
 139142                         RV(p) += RV(p->n_left);
 140143                         p->n_left = zapleft(p->n_left);
     
 !
163166                         } else
 164167 #endif
 165168                         /* avoid larger shifts than type size */
<>166 -                        if (RV(p) >= p->n_sue->suesize) {
  169+                        if (RV(p) >= sue->suesize) {
167170                                 RV(p) = RV(p) % p->n_sue->suesize;
 168171                                 werror("shift larger than type");
 169172                         }
     
 !
173176                 break;
 174177 
 175178         case LS:
<> 179+                GETSUE(sue, p->n_sue);
  180+
176181                 if (LO(p) == LS && RCON(p->n_left) && RCON(p)) {
 177182                         /* two left-shift  by constants */
 178183                         RV(p) += RV(p->n_left);
     
 !
199204                         } else
 200205 #endif
 201206                         /* avoid larger shifts than type size */
<>202 -                        if (RV(p) >= p->n_sue->suesize) {
  207+                        if (RV(p) >= sue->suesize) {
<_203208                                 RV(p) = RV(p) % p->n_sue->suesize;
 204209                                 werror("shift larger than type");
 205210                         }
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 09:29 +0200