Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.17
 
1.18
 
MAIN:plunky:20120422210740
 
code.c
_>8989 static int strtemp;
 9090 
 9191 void
<>92 -efcode()
  92+efcode(void)
9393 {
 9494         TWORD t;
 9595         NODE *p, *q;
     
 !
151151 }
 152152 
 153153 void
<>154 -ejobcode( flag ){
  154+ejobcode(int flag)
  155+{
155156         /* called just before final exit */
 156157         /* flag is 1 if errors, 0 if none */
<>157 -        }
  158+}
158159 
 159160 void
<>160 -bjobcode()
  161+bjobcode(void)
161162 {
 162163         astypnames[INT] = astypnames[UNSIGNED] = "\t.long";
 163164         astypnames[SHORT] = astypnames[USHORT] = "\t.word";
 164165 }
 165166 
 166167 #if 0
<>167 -aobeg(){
  168+aobeg(void)
  169+{
168170         /* called before removing automatics from stab */
<>169 -        }
  171+}
170172 
<>171 -aocode(p) struct symtab *p; {
  173+aocode(struct symtab *p)
  174+{
172175         /* called when automatic p removed from stab */
<>173 -        }
  176+}
174177 
<>175 -aoend(){
  178+aoend(void)
  179+{
176180         /* called after removing all automatics from stab */
<>177 -        }
  181+}
178182 #endif
 179183 
 180184 void
<>181 -fldty( p ) struct symtab *p; { /* fix up type of field p */
 182 -        ;
 183 -        }
  185+fldty(struct symtab *p)
  186+{
  187+        /* fix up type of field p */
  188+}
184189 
 185190 /*
 186191  * XXX - fix genswitch.
     
 !
194199 #ifdef notyet
 195200 struct sw heapsw[SWITSZ];       /* heap for switches */
 196201 
<>197 -genswitch(p,n) register struct sw *p;{
  202+genswitch(register struct sw *p, int n)
  203+{
198204         /*      p points to an array of structures, each consisting
 199205                 of a constant value and a label.
 200206                 The first is >=0 if there is a default label;
     
 !
258264                 }
 259265 
 260266         if( p->slab>=0 ) branch( p->slab );
<>261 -        }
  267+}
262268 
<>263 -makeheap(p, m, n)
 264 -register struct sw *p;
  269+makeheap(register struct sw *p, int m, int n)
265270 {
 266271         register int q;
 267272 
     
 !
271276         if( q<m ) makeheap(p+q, m-q, 2*n+1);
 272277 }
 273278 
<>274 -select(m) {
  279+select(int m)
  280+{
275281         register int l,i,k;
 276282 
 277283         for(i=1; ; i*=2)
     
 !
280286         return( l + (m-k < l ? m-k : l));
 281287 }
 282288 
<>283 -walkheap(start, limit)
  289+walkheap(int start, int limit)
284290 {
 285291         int label;
 286292 
<>287 -
288293         if( start > limit ) return;
 289294         printf("        cmpl    r0,$%d\n"heapsw[start].sval);
 290295         printf("        jeql    " LBLFMT "\n", heapsw[start].slab);
     
 !
304309         }
 305310 }
 306311 #endif
<> 312+
307313 /*
 308314  * Called with a function call with arguments as argument.
 309315  * This is done early in buildtree() and only done once.
     
 !
409415         uerror("bad argument to __builtin_frame_address");
 410416         return bcon(0);
 411417 }
<_412 -
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 06:15 +0200