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:20050120212414
 
optim2.c
_>274274 void
 275275 saveip(struct interpass *ip)
 276276 {
<>277 -        struct interpass *prol;
  277+        struct interpass_prolog *ipp, *epp;
  278+
278279 #if 0
 279280         int regs;
 280281 #endif
     
 !
284285 
 285286         if (ip->type != IP_EPILOG)
 286287                 return;
<> 288+        epp = (struct interpass_prolog *)ip;
287289         saving = -1;
 288290 
 289291         //              deljumps();     /* Delete redundant jumps and dead code */
     
 !
303305 #endif
 304306 
 305307 #ifdef PCC_DEBUG
<>306 -        if (ip->ip_regs != MAXRVAR)
  308+        if (epp->ipp_regs != MAXRVAR)
307309                 comperr("register error");
 308310 #endif
 309311 
<>310 -        prol = SIMPLEQ_FIRST(&ipole);
 311 -        prol->ip_auto = ip->ip_auto;
 312 -        prol->ip_regs = ip->ip_regs; // = regs;
  312+        ipp = (struct interpass_prolog *)SIMPLEQ_FIRST(&ipole);
  313+        ipp->ipp_autos = epp->ipp_autos;
  314+        ipp->ipp_regs = epp->ipp_regs; // = regs;
313315 
 314316 #ifdef MYOPTIM
 315317         myoptim(prol);
     
 !
419421                 if ((ip->type == IP_PROLOG) || (ip->type == IP_EPILOG)) {
 420422                         bb->last = ip;
 421423                         if (ip->type == IP_EPILOG)
<>422 -                                high = MAX(ip->ip_retl, high);
  424+                                high = MAX(ip->ip_lbl, high);
423425                         leader = 1;
 424426                         continue;
 425427                 }
     
 !
521523                         labinfo->arr[bb->first->ip_lbl - low] = bb;
 522524                 }
 523525                 if (bb->first->type == IP_EPILOG) {
<>524 -                        labinfo->arr[bb->first->ip_retl - low] = bb;
  526+                        labinfo->arr[bb->first->ip_lbl - low] = bb;
<_525527                 }
 526528         }
 527529 
FishEye: Open Source License registered to PCC.
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-12-21 16:10 +0100