Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.4
 
1.5
 
MAIN:ragge:20090522121959
 
local2.c
_>5353 //      static int lwnr;
 5454         int i;
 5555 
<> 56+        /* XXX should look if there is any need to emit this */
5657         printf("\tpushq %%rbp\n");
 5758         printf("\tmovq %%rsp,%%rbp\n");
 5859         if (addto)
     
 !
463464                                 printf("r");
 464465                 }
 465466                 break;
<> 467+#endif
466468 
 467469         case 'C'/* remove from stack after subroutine call */
<> 470+#if 0
468471                 if (p->n_left->n_flags & FSTDCALL)
 469472                         break;
 470473                 pr = p->n_qual;
     
 !
474477                         return; /* XXX remove ZC from UCALL */
 475478                 if (pr)
 476479                         printf("        addl $%d, %s\n", pr, rnames[ESP]);
<> 480+#endif
477481                 break;
 478482 
<> 483+#if 0
479484         case 'E': /* Perform bitfield sign-extension */
 480485                 bfext(p);
 481486                 break;
     
 !
700705 adrput(FILE *io, NODE *p)
 701706 {
 702707         int r;
<> 708+        char **rc;
703709         /* output an address, with offsets, from p */
 704710 
 705711         if (p->n_op == FLD)
     
 !
748754 
 749755         case REG:
 750756                 switch (p->n_type) {
<>751 -                case LONGLONG:
 752 -                case ULONGLONG:
 753 -                        fprintf(io, "%%%c%c%c", rnames[p->n_rval][0],
 754 -                            rnames[p->n_rval][1], rnames[p->n_rval][2]);
  757+                case CHAR:
  758+                case UCHAR:
  759+                        rc = rbyte;
755760                         break;
 756761                 case SHORT:
 757762                 case USHORT:
<>758 -                        fprintf(io, "%%%s", &rnames[p->n_rval][2]);
  763+                        rc = rshort;
759764                         break;
<> 765+                case INT:
  766+                case UNSIGNED:
  767+                        rc = rlong;
  768+                        break;
760769                 default:
<>761 -                        fprintf(io, "%s", rnames[p->n_rval]);
  770+                        rc = rnames;
  771+                        break;
762772                 }
<> 773+                fprintf(io, "%s", rc[p->n_rval]);
<_763774                 return;
 764775 
 765776         default:
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 18:52 +0200