Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.45
 
1.46
 
MAIN:ragge:20071001152753
 
optim2.c
_>251251         int gotone,low, high;
 252252         int *lblary, *jmpary, sz, o, i, j, lab1, lab2;
 253253         int del;
<> 254+        extern int negrel[];
  255+        extern size_t negrelsize;
254256 
 255257         low = ipp->ip_lblnum;
 256258         high = epp->ip_lblnum;
     
 !
423425                 if (i != ip2->ip_lbl || i == lab1 || i == lab2)
 424426                         continue;
 425427                 ip->ip_node->n_right->n_lval = j;
<>426 -                switch (ip->ip_node->n_left->n_op) {
 427 -                case EQ:
 428 -                        j = NE;
 429 -                        break;
 430 -                case NE:
 431 -                        j = EQ;
 432 -                        break;
 433 -                case LE:
 434 -                        j = GT;
 435 -                        break;
 436 -                case LT:
 437 -                        j = GE;
 438 -                        break;
 439 -                case GE:
 440 -                        j = LT;
 441 -                        break;
 442 -                case GT:
 443 -                        j = LE;
 444 -                        break;
 445 -                case ULE:
 446 -                        j = UGT;
 447 -                        break;
 448 -                case ULT:
 449 -                        j = UGE;
 450 -                        break;
 451 -                case UGE:
 452 -                        j = ULT;
 453 -                        break;
 454 -                case UGT:
 455 -                        j = ULE;
 456 -                        break;
 457 -                default:
  428+                i = ip->ip_node->n_left->n_op;
  429+                if (i < EQ || i - EQ >= negrelsize)
458430                         comperr("deljumps: unexpected op");
<>459 -                }
 460 -                ip->ip_node->n_left->n_op = j;
  431+                ip->ip_node->n_left->n_op = negrel[i - EQ];
<_461432                 tfree(n->ip_node);
 462433                 DLIST_REMOVE(n, qelem);
 463434                 gotone = 1;
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-30 19:53 +0200