Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.79
 
1.80
 
MAIN:ragge:20030816122546
 
trees.c
_>16841684 static void
 16851685 rmcops(NODE *p)
 16861686 {
<> 1687+        TWORD type;
16871688         NODE *q, *r;
 16881689         int o, ty, lbl, lbl2, tval;
 16891690 
     
 !
16981699                  * Create a branch node from ?:
 16991700                  * || and && must be taken special care of.
 17001701                  */
<> 1702+                type = p->n_type;
17011703                 andorbr(p->n_left, -1, lbl = getlab());
 17021704 
 17031705                 /* Make ASSIGN node */
 17041706                 /* Only if type is not void */
 17051707                 q = p->n_right->n_left;
<>1706 -                if (p->n_type != VOID) {
 1707 -                        r = block(TEMP, NIL, NIL,
 1708 -                            q->n_type, q->n_df, q->n_sue);
  1708+                if (type != VOID) {
  1709+                        r = block(TEMP, NIL, NIL, type, p->n_df, p->n_sue);
17091710                         r->n_lval = tval;
 17101711                         q = buildtree(ASSIGN, r, q);
 17111712                 }
     
 !
17151716                 send_passt(IP_DEFLAB, lbl);
 17161717 
 17171718                 q = p->n_right->n_right;
<>1718 -                if (p->n_type != VOID) {
 1719 -                        r = block(TEMP, NIL, NIL,
 1720 -                            q->n_type, q->n_df, q->n_sue);
  1719+                if (type != VOID) {
  1720+                        r = block(TEMP, NIL, NIL, type, p->n_df, p->n_sue);
<_17211721                         r->n_lval = tval;
 17221722                         q = buildtree(ASSIGN, r, q);
 17231723                 }
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-07-10 01:34 +0200