Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.292
 
1.293
 
MAIN:ragge:20110730144538
 
trees.c
_>28272827                 
 28282828 }
 28292829 
<> 2830+/*
  2831+ * Change calls inside calls to separate statement.
  2832+ */
  2833+static NODE *
  2834+deldcall(NODE *p, int split)
  2835+{
  2836+        NODE *q, *r;
  2837+        int o = p->n_op;
  2838+
  2839+        if (cdope(o) & CALLFLG) {
  2840+                if (split) {
  2841+                        q = cstknode(p->n_type, p->n_df, p->n_ap);
  2842+                        r = ccopy(q);
  2843+                        q = buildtree(ASSIGN, q, p);
  2844+                        ecode(q);
  2845+                        return r;
  2846+                }
  2847+                split++;
  2848+        }
  2849+        if (coptype(o) == BITYPE)
  2850+                p->n_right = deldcall(p->n_right, split);
  2851+        if (coptype(o) != LTYPE)
  2852+                p->n_left = deldcall(p->n_left, split);
  2853+        return p;
  2854+}
  2855+
28302856 void
 28312857 ecode(NODE *p)  
 28322858 {
     
 !
28482874 #endif
 28492875         p = optim(p);
 28502876         p = delasgop(p);
<> 2877+        p = deldcall(p, 0);
<_28512878         walkf(p, delvoid, 0);
 28522879 #ifdef PCC_DEBUG
 28532880         if (xdebug) {
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-30 22:01 +0200