Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.62
 
1.63
 
MAIN:ragge:20110808193334
 
local.c
_>323323                                 break;
 324324                         }
 325325 #endif
<>326 -#ifdef notdef
 327 -                        if (kflag == 0) {
 328 -                                if (q->slevel == 0)
 329 -                                        break;
 330 -                                p->n_lval = 0;
 331 -                        } else if (blevel > 0) {
 332 -                                if (!ISFTN(q->stype))
 333 -                                        p = picstatic(p);
 334 -                        }
 335 -#endif
336326                         break;
 337327 
 338328                 case REGISTER:
     
 !
355345                 }
 356346                 break;
 357347 
<>358 -#if 0
 359 -        case ADDROF:
 360 -                if (kflag == 0 || blevel == 0)
 361 -                        break;
 362 -                /* char arrays may end up here */
 363 -                l = p->n_left;
 364 -                if (l->n_op != NAME ||
 365 -                    (l->n_type != ARY+CHAR && l->n_type != ARY+WCHAR_TYPE))
 366 -                        break;
 367 -                l = p;
 368 -                p = picstatic(p->n_left);
 369 -                nfree(l);
 370 -                if (p->n_op != UMUL)
 371 -                        cerror("ADDROF error");
 372 -                l = p;
 373 -                p = p->n_left;
 374 -                nfree(l);
 375 -                break;
 376 -#endif
 377 -
378348         case UCALL:
 379349         case USTCALL:
 380350                 /* For now, always clear eax */
     
 !
384354                 p->n_op -= (UCALL-CALL);
 385355                 break;
 386356 
<>387 -#ifdef notyet
 388 -        case CBRANCH:
 389 -                l = p->n_left;
 390 -
 391 -                /*
 392 -                 * Remove unnecessary conversion ops.
 393 -                 */
 394 -                if (clogop(l->n_op) && l->n_left->n_op == SCONV) {
 395 -                        if (coptype(l->n_op) != BITYPE)
 396 -                                break;
 397 -                        if (l->n_right->n_op == ICON) {
 398 -                                r = l->n_left->n_left;
 399 -                                if (r->n_type >= FLOAT && r->n_type <= LDOUBLE)
 400 -                                        break;
 401 -                                if (ISPTR(r->n_type))
 402 -                                        break; /* no opt for pointers */
 403 -                                if (toolarge(r->n_type, l->n_right->n_lval))
 404 -                                        break;
 405 -                                /* Type must be correct */
 406 -                                t = r->n_type;
 407 -                                nfree(l->n_left);
 408 -                                l->n_left = r;
 409 -                                l->n_type = t;
 410 -                                l->n_right->n_type = t;
 411 -                        }
 412 -                }
 413 -                break;
 414 -#endif
 415 -
 416 -#if 0
 417 -        case PCONV:
 418 -                /* Remove redundant PCONV's. Be careful */
 419 -                l = p->n_left;
 420 -                if (l->n_op == ICON) {
 421 -                        goto delp;
 422 -                }
 423 -                if (l->n_type < LONG || l->n_type == BOOL) {
 424 -                        /* float etc? */
 425 -                        p->n_left = block(SCONV, l, NIL, UNSIGNED, 0, 0);
 426 -                        break;
 427 -                }
 428 -                /* if left is SCONV, cannot remove */
 429 -                if (l->n_op == SCONV)
 430 -                        break;
 431 -
 432 -                /* avoid ADDROF TEMP */
 433 -                if (l->n_op == ADDROF && l->n_left->n_op == TEMP)
 434 -                        break;
 435 -
 436 -                if ((l->n_op == REG || l->n_op == TEMP) && ISPTR(l->n_type))
 437 -                        goto delp;
 438 -#ifdef notdef
 439 -                /* if conversion to another pointer type, just remove */
 440 -                /* XXX breaks ADDROF NAME */
 441 -                if (p->n_type > BTMASK && l->n_type > BTMASK)
 442 -                        goto delp;
 443 -#endif
 444 -                break;
 445 -
 446 -        delp:   l->n_type = p->n_type;
 447 -                l->n_qual = p->n_qual;
 448 -                l->n_df = p->n_df;
 449 -                l->n_ap = p->n_ap;
 450 -                nfree(p);
 451 -                p = l;
 452 -                break;
 453 -#endif
 454 -                
<_455357         case SCONV:
 456358                 /* Special-case shifts */
 457359                 if (p->n_type == LONG && (l = p->n_left)->n_op == LS &&
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-31 23:59 +0100