Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.211
 
1.212
 
MAIN:gmcgarry:20080707111340
 
pftn.c
_>26472647 sspend()
 26482648 {
 26492649         NODE *p, *q;
<> 2650+        TWORD t;
26502651         int tmpnr = 0;
 26512652         int lab;
 26522653 
     
 !
26552656                 retlab = getlab();
 26562657         }
 26572658 
<>2658 -        if (DECREF(cftnsp->stype) != VOID && !ISSOU(DECREF(cftnsp->stype))) {
 2659 -                p = tempnode(0, DECREF(cftnsp->stype),
 2660 -                    cftnsp->sdf, cftnsp->ssue);
  2659+        t = DECREF(cftnsp->stype);
  2660+        if (t == BOOL)
  2661+                t = BOOL_TYPE;
  2662+
  2663+        if (t != VOID && !ISSOU(t)) {
  2664+                p = tempnode(0, t, cftnsp->sdf, cftnsp->ssue);
26612665                 tmpnr = regno(p);
<>2662 -                q = block(REG, NIL, NIL, DECREF(cftnsp->stype),
 2663 -                    cftnsp->sdf, cftnsp->ssue);
 2664 -                q->n_rval = RETREG(DECREF(cftnsp->stype));
  2666+                q = block(REG, NIL, NIL, t, cftnsp->sdf, cftnsp->ssue);
  2667+                q->n_rval = RETREG(t);
26652668                 ecomp(buildtree(ASSIGN, p, q));
 26662669         }
 26672670 
     
 !
26892692 
 26902693         plabel(lab);
 26912694 
<>2692 -        if (DECREF(cftnsp->stype) != VOID && !ISSOU(DECREF(cftnsp->stype))) {
 2693 -                p = tempnode(tmpnr, DECREF(cftnsp->stype),
 2694 -                    cftnsp->sdf, cftnsp->ssue);
 2695 -                q = block(REG, NIL, NIL, DECREF(cftnsp->stype),
 2696 -                    cftnsp->sdf, cftnsp->ssue);
 2697 -                q->n_rval = RETREG(DECREF(cftnsp->stype));
  2695+        if (t != VOID && !ISSOU(t)) {
  2696+                p = tempnode(tmpnr, t, cftnsp->sdf, cftnsp->ssue);
  2697+                q = block(REG, NIL, NIL, t, cftnsp->sdf, cftnsp->ssue);
  2698+                q->n_rval = RETREG(t);
<_26982699                 ecomp(buildtree(ASSIGN, q, p));
 26992700         }
 27002701 }
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-21 00:03 +0200