Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.36
 
1.37
 
MAIN:ragge:20121221214427
 
local2.c
_>346346         }
 347347         expand(p, FOREFF, str);
 348348         if (mneg)
<>349 -                expand(p, FOREFF, "\n\tmnegl $-1,UL");
  349+                expand(p, FOREFF, "\n\tmnegl $1,UL");
350350 }
 351351 
 352352 /*
     
 !
11661166         TWORD lt;
 11671167 
 11681168         switch (p->n_op) {
<> 1169+        case DIV:
11691170         case MOD:
 11701171                 if (p->n_type == USHORT || p->n_type == UCHAR) {
 11711172                         r = mkunode(SCONV, p->n_left, 0, UNSIGNED);
     
 !
11741175                         s = mkunode(FUNARG, s, 0, UNSIGNED);
 11751176                         r = mkbinode(CM, r, s, INT);
 11761177                         s = mklnode(ICON, 0, 0, FTN|UNSIGNED);
<>1177 -                        s->n_name = "__urem";
  1178+                        s->n_name = p->n_op == MOD ? "__urem" : "__udiv";
11781179                         p->n_left = mkbinode(CALL, s, r, UNSIGNED);
 11791180                         p->n_op = SCONV;
 11801181                 } else if (p->n_type == UNSIGNED) {
 11811182                         p->n_left = mkunode(FUNARG, p->n_left, 0, UNSIGNED);
 11821183                         p->n_right = mkunode(FUNARG, p->n_right, 0, UNSIGNED);
 11831184                         p->n_right = mkbinode(CM, p->n_left, p->n_right, INT);
 11841185                         p->n_left = mklnode(ICON, 0, 0, FTN|UNSIGNED);
<>1185 -                        p->n_left->n_name = "__urem";
  1186+                        p->n_left->n_name = p->n_op == MOD ? "__urem" : "__udiv";
<_11861187                         p->n_op = CALL;
 11871188                 }
 11881189                 break;
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-10-30 18:33 +0100